Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.
Registro + OTP é a porta de entrada: sem verificar o telefone você não recebe a apiKey que abre o resto da API.
A Platform API separa autenticação de conta (registro/login + OTP) da autenticação de API (apiKey). Entenda cada etapa antes de automatizar onboarding com IA ou scripts.
É um JWT temporário (~15 minutos) que a API devolve quando precisa de um segundo passo antes de liberar sessão ou API key. Não é a API key e não serve para enviar mensagens.
Origem
Quando aparece
Próximo passo
POST /v1/platform/register
Após cadastrar conta; OTP enviado ao telefone
POST /v1/platform/verify com code (6 dígitos WhatsApp/SMS)
POST /v1/platform/login
Conta com 2FA ativo; resposta requiresSecondFactor: true
OutroPOST /v1/platform/login com totpCode ou backupCode
POST /v1/platform/verify confirma só o OTP de telefone do registro. Código TOTP do app autenticador (2FA) vai em POST /login, não em verify.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Notifique","description":"API multicanal para WhatsApp, SMS, e-mail, push e mais. Integre, teste no sandbox e use IA com llms.txt e MCP.","colors":{"primary":"#fbbf24","light":"#fbbf24","dark":"#fbbf24"},"logo":{"light":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/light.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=64d67c9a1c52ec357777b5632f714882","dark":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/dark.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=2df6ca04be3fb36c080492c1c205975f"},"favicon":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/favicon.svg?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=3ea7b1631da416de0c1a7ee57d439c56","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python","go"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"styling":{"latex":true},"navigation":{"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"href":"welcome/welcome"},{"language":"en","href":"en/welcome/welcome"},{"language":"es","href":"es/welcome/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tribus","hasAudioNarration":false,"actualSubdomain":"tribus","customDomains":["docs.notifique.dev"],"gitSource":{"type":"github","owner":"notifique-dev","repo":"notifique-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad52bcc29f358e945e24eef","collectionId":"53455186-1186-4cb7-b9b1-ff28dfb2c0ce","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad52bcc29f358e945e24eef"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad52bcc29f358e945e24eef","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Guias","count":56},{"language":"default","tag":"Automações","count":53},{"language":"en","tag":"WhatsApp","count":50},{"language":"default","tag":"Contatos","count":49},{"language":"pt-BR","tag":"WhatsApp","count":46},{"language":"es","tag":"WhatsApp","count":46},{"language":"pt-BR","tag":"Guias","count":40},{"language":"en","tag":"Guides","count":40},{"language":"es","tag":"Guías","count":40},{"language":"pt-BR","tag":"Automações","count":38},{"language":"en","tag":"Add-ons","count":37},{"language":"en","tag":"Automations","count":35},{"language":"es","tag":"Add-ons","count":35},{"language":"pt-BR","tag":"Add-ons","count":34},{"language":"en","tag":"Instagram","count":33},{"language":"pt-BR","tag":"Instagram","count":32},{"language":"es","tag":"Automatizaciones","count":32},{"language":"es","tag":"Instagram","count":32},{"language":"en","tag":"Contacts","count":29},{"language":"pt-BR","tag":"Contatos","count":28},{"language":"en","tag":"Telegram","count":28},{"language":"es","tag":"Contactos","count":28},{"language":"es","tag":"Telegram","count":27},{"language":"pt-BR","tag":"Telegram","count":25},{"language":"pt-BR","tag":"Instâncias","count":25},{"language":"default","tag":"Voz","count":23},{"language":"en","tag":"Instâncias","count":22},{"language":"es","tag":"Instâncias","count":21},{"language":"default","tag":"Chat","count":21},{"language":"default","tag":"WhatsApp","count":19},{"language":"en","tag":"Mensagens","count":18},{"language":"en","tag":"Voice","count":17},{"language":"es","tag":"Mensagens","count":17},{"language":"pt-BR","tag":"Voz","count":15},{"language":"pt-BR","tag":"Mensagens","count":15},{"language":"es","tag":"Voz","count":15},{"language":"default","tag":"Assistentes","count":14},{"language":"default","tag":"Add-ons","count":14},{"language":"default","tag":"Mensagens","count":13},{"language":"default","tag":"Push","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"welcome-hero.css","content":"@keyframes welcome-line-flow{0%{stroke-dashoffset:0}to{stroke-dashoffset:-240}}@keyframes welcome-node-pulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.35)}}@keyframes welcome-ring-expand{0%{opacity:.5;transform:scale(.6)}70%,to{opacity:0;transform:scale(2.2)}}@keyframes welcome-glow-drift{0%,to{transform:translate(0,0) scale(1)}33%{transform:translate(24px,-16px) scale(1.05)}66%{transform:translate(-18px,12px) scale(.95)}}@keyframes welcome-grid-pulse{0%,to{opacity:.35}50%{opacity:.9}}.welcome-hero{position:relative;overflow:hidden;text-align:center;padding:96px 24px;margin-bottom:-16px;background:#09090b;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 56px),rgba(0,0,0,.98) calc(100% - 49px),rgba(0,0,0,.96) calc(100% - 44px),rgba(0,0,0,.93) calc(100% - 39px),rgba(0,0,0,.89) calc(100% - 34px),rgba(0,0,0,.84) calc(100% - 29px),rgba(0,0,0,.78) calc(100% - 25px),rgba(0,0,0,.71) calc(100% - 21px),rgba(0,0,0,.63) calc(100% - 17px),rgba(0,0,0,.54) calc(100% - 13px),rgba(0,0,0,.44) calc(100% - 10px),rgba(0,0,0,.34) calc(100% - 7px),rgba(0,0,0,.24) calc(100% - 5px),rgba(0,0,0,.15) calc(100% - 3px),rgba(0,0,0,.08) calc(100% - 1px),transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 56px),rgba(0,0,0,.98) calc(100% - 49px),rgba(0,0,0,.96) calc(100% - 44px),rgba(0,0,0,.93) calc(100% - 39px),rgba(0,0,0,.89) calc(100% - 34px),rgba(0,0,0,.84) calc(100% - 29px),rgba(0,0,0,.78) calc(100% - 25px),rgba(0,0,0,.71) calc(100% - 21px),rgba(0,0,0,.63) calc(100% - 17px),rgba(0,0,0,.54) calc(100% - 13px),rgba(0,0,0,.44) calc(100% - 10px),rgba(0,0,0,.34) calc(100% - 7px),rgba(0,0,0,.24) calc(100% - 5px),rgba(0,0,0,.15) calc(100% - 3px),rgba(0,0,0,.08) calc(100% - 1px),transparent 100%);-webkit-mask-size:100% 100%;mask-size:100% 100%}.welcome-hero-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}.welcome-hero-glow{position:absolute;border-radius:50%;filter:blur(72px);opacity:.45;animation:welcome-glow-drift 18s ease-in-out infinite}.welcome-hero-glow-1{width:420px;height:420px;top:-120px;left:8%;background:rgba(251,191,36,.22);animation-delay:0s}.welcome-hero-glow-2{width:360px;height:360px;top:10%;right:5%;background:rgba(245,158,11,.14);animation-delay:-6s}.welcome-hero-glow-3{width:280px;height:280px;bottom:-40px;left:42%;background:rgba(251,191,36,.1);animation-delay:-12s}.welcome-hero-svg{position:absolute;inset:0;width:100%;height:100%;opacity:.9}.welcome-hero-grid line{stroke:rgba(251,191,36,.06);stroke-width:1}.welcome-hero-grid line:nth-child(odd){animation:welcome-grid-pulse 8s ease-in-out infinite}.welcome-hero-grid line:nth-child(even){animation:welcome-grid-pulse 8s ease-in-out infinite reverse;animation-delay:-4s}.welcome-hero-path{fill:none;stroke:url(#welcome-line-gradient);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:6 14;animation:welcome-line-flow 22s linear infinite}.welcome-hero-path-2{animation-duration:28s;animation-direction:reverse;stroke-dasharray:4 18;opacity:.7}.welcome-hero-path-3{animation-duration:18s;stroke-dasharray:8 10;opacity:.55}.welcome-hero-node{fill:#fbbf24;filter:drop-shadow(0 0 8px rgba(251,191,36,.65));animation:welcome-node-pulse 4s ease-in-out infinite}.welcome-hero-node-2{animation-delay:-1.2s}.welcome-hero-node-3{animation-delay:-2.4s}.welcome-hero-node-4{animation-delay:-.6s}.welcome-hero-node-5{animation-delay:-1.8s}.welcome-hero-node-6{animation-delay:-3s}.welcome-hero-ring{fill:none;stroke:rgba(251,191,36,.2);stroke-width:1;transform-origin:center;animation:welcome-ring-expand 5s ease-out infinite}.welcome-hero-ring-2{animation-delay:-2.5s}.welcome-hero-content{position:relative;z-index:2}@media (prefers-reduced-motion:reduce){.welcome-hero-glow,.welcome-hero-grid line,.welcome-hero-node,.welcome-hero-path,.welcome-hero-ring{animation:none!important}}"}],"page":{"pagePath":"platform-api/como-funciona/registro-e-verificacao","slug":"/platform-api/como-funciona/registro-e-verificacao","pageMetadata":{"title":"Registro e verificação","description":"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.","icon":"id-card","slug":"platform-registro-e-verificacao","href":"/platform-api/como-funciona/registro-e-verificacao"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Tip,{children:_jsxs(_components.p,{children:[`Registro + OTP é a `,_jsx(_components.strong,{children:`porta de entrada`}),`: sem verificar o telefone você não recebe a `,_jsx(_components.code,{children:`apiKey`}),` que abre o resto da API.`]})}),`\n`,_jsxs(_components.p,{children:[`A Platform API separa `,_jsx(_components.strong,{children:`autenticação de conta`}),` (registro/login + OTP) da `,_jsx(_components.strong,{children:`autenticação de API`}),` (`,_jsx(_components.code,{children:`apiKey`}),`). Entenda cada etapa antes de automatizar onboarding com IA ou scripts.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`o-que-é-o-verificationtoken`,children:[`O que é o `,_jsx(_components.code,{children:`verificationToken`}),`?`]}),`\n`,_jsxs(_components.p,{children:[`É um `,_jsx(_components.strong,{children:`JWT temporário (~15 minutos)`}),` que a API devolve quando precisa de um segundo passo antes de liberar sessão ou API key. `,_jsx(_components.strong,{children:`Não`}),` é a API key e `,_jsx(_components.strong,{children:`não`}),` serve para enviar mensagens.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Origem`}),_jsx(_components.th,{children:`Quando aparece`}),_jsx(_components.th,{children:`Próximo passo`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/platform/register`})}),_jsx(_components.td,{children:`Após cadastrar conta; OTP enviado ao telefone`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /v1/platform/verify`}),` com `,_jsx(_components.code,{children:`code`}),` (6 dígitos WhatsApp/SMS)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/platform/login`})}),_jsxs(_components.td,{children:[`Conta com `,_jsx(_components.strong,{children:`2FA ativo`}),`; resposta `,_jsx(_components.code,{children:`requiresSecondFactor: true`})]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Outro`}),` `,_jsx(_components.code,{children:`POST /v1/platform/login`}),` com `,_jsx(_components.code,{children:`totpCode`}),` ou `,_jsx(_components.code,{children:`backupCode`})]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /v1/platform/verify`}),` confirma só o `,_jsx(_components.strong,{children:`OTP de telefone do registro`}),`. Código TOTP do app autenticador (2FA) vai em `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`POST /login`})}),`, não em `,_jsx(_components.code,{children:`verify`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`credenciais-no-fluxo`,children:`Credenciais no fluxo`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Etapa`}),_jsx(_components.th,{children:`Credencial`}),_jsx(_components.th,{children:`Validade`}),_jsx(_components.th,{children:`Uso`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Após `,_jsx(_components.code,{children:`register`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`verificationToken`}),` (onboarding)`]}),_jsx(_components.td,{children:`~15 min`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /v1/platform/verify`}),` + código do SMS/WhatsApp`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Após `,_jsx(_components.code,{children:`login`}),` com 2FA pendente`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`verificationToken`}),` (login_2fa)`]}),_jsx(_components.td,{children:`~15 min`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /v1/platform/login`}),` + `,_jsx(_components.code,{children:`totpCode`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Após `,_jsx(_components.code,{children:`verify`}),` (registro)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`apiKey`}),` + `,_jsx(_components.code,{children:`workspaceId`})]}),_jsx(_components.td,{children:`permanente`}),_jsx(_components.td,{children:`Toda a API v1`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Login sem 2FA`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sessionToken`})}),_jsx(_components.td,{children:`sessão (~7 dias)`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/platform/me`}),`, billing com sessão`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Login com `,_jsx(_components.code,{children:`createApiKey: true`})]}),_jsxs(_components.td,{children:[`nova `,_jsx(_components.code,{children:`apiKey`}),` + `,_jsx(_components.code,{children:`workspaceId`})]}),_jsx(_components.td,{children:`permanente`}),_jsx(_components.td,{children:`API v1 no workspace escolhido`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`fluxo-completo-para-agente-ou-script`,children:`Fluxo completo para agente ou script`}),`\n`,_jsx(Heading,{level:`3`,id:`1-primeira-conta-e-primeiro-workspace`,children:`1. Primeira conta e primeiro workspace`}),`\n`,_jsxs(_components.p,{children:[`O `,_jsx(_components.strong,{children:`primeiro workspace`}),` é criado automaticamente quando o telefone é verificado — você não chama `,_jsx(_components.code,{children:`POST /v1/workspaces`}),` nesse momento.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 1a. Registrar`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.notifique.dev/v1/platform/register`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"dev@empresa.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"password\": \"SenhaSegura123!\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phone\": \"5511999999999\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"onboardingSurvey\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"rolePersona\": \"developer\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"plannedChannels\": [\"whatsapp\", \"email\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → data.verificationToken (guarde), OTP no telefone`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 1b. Verificar telefone`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.notifique.dev/v1/platform/verify`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"verificationToken\": \"\u003ctoken do register>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"code\": \"123456\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → data.apiKey, data.workspaceId (primeiro workspace), data.user`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Guarde `,_jsx(_components.code,{children:`apiKey`}),` e `,_jsx(_components.code,{children:`workspaceId`}),` — a chave `,_jsx(_components.strong,{children:`não`}),` é exibida de novo.`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-criar-um-segundo-workspace`,children:`2. Criar um segundo workspace`}),`\n`,_jsxs(_components.p,{children:[`Com a API key do primeiro workspace (escopo `,_jsx(_components.code,{children:`workspace:create`}),` ou escopos vazios no onboarding):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.notifique.dev/v1/workspaces`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk_live_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Homologação\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"color\": \"#3B82F6\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → data.id = novo workspaceId (ex.: clws_02H...)`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Limite de slots do plano → `,_jsx(_components.strong,{children:`403`}),` `,_jsx(_components.code,{children:`WORKSPACE_SLOTS_LIMIT_REACHED`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-login-e-api-key-no-workspace-certo`,children:`3. Login e API key no workspace certo`}),`\n`,_jsxs(_components.p,{children:[`Para contas que `,_jsx(_components.strong,{children:`já existem`}),`, use login. Sem 2FA:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Sessão + nova API key no workspace de homologação`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.notifique.dev/v1/platform/login`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"dev@empresa.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"password\": \"SenhaSegura123!\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"createApiKey\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"workspaceId\": \"clws_02H...\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → sessionToken, apiKey, workspaceId, user.workspaces (lista com roles)`})}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`workspaceId`}),` opcional: se omitido com `,_jsx(_components.code,{children:`createApiKey: true`}),`, a API usa o workspace OWNER mais recente.`]}),`\n`,_jsxs(_components.li,{children:[`Só workspaces onde você é `,_jsx(_components.strong,{children:`OWNER`}),` ou `,_jsx(_components.strong,{children:`ADMIN`}),` aceitam nova chave via login.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`createApiKey: false`}),` → só `,_jsx(_components.code,{children:`sessionToken`}),` (útil para billing no browser ou `,_jsx(_components.code,{children:`GET /v1/platform/workspaces`}),`).`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Listar todos os workspaces da conta (sessão):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.notifique.dev/v1/platform/workspaces`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003csessionToken>\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`4-login-com-2fa-quando-ativo-no-painel`,children:`4. Login com 2FA (quando ativo no painel)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Passo A`}),` — e-mail e senha:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.notifique.dev/v1/platform/login`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"dev@empresa.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"password\": \"SenhaSegura123!\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → requiresSecondFactor: true, verificationToken (novo JWT, purpose login_2fa)`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Passo B`}),` — mesmo endpoint, com token do passo A + TOTP do app:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.notifique.dev/v1/platform/login`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"verificationToken\": \"\u003ctoken do passo A>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"totpCode\": \"482193\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"createApiKey\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"workspaceId\": \"clws_02H...\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Alternativa: `,_jsx(_components.code,{children:`backupCode`}),` em vez de `,_jsx(_components.code,{children:`totpCode`}),`.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsxs(Heading,{level:`2`,id:`registro-post-/v1/platform/register`,children:[`Registro (`,_jsx(_components.code,{children:`POST /v1/platform/register`}),`)`]}),`\n`,_jsx(_components.p,{children:`Campos principais:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`password`}),` (mín. 10 caracteres), `,_jsx(_components.code,{children:`phone`}),` (internacional)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name`}),` — opcional`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`onboardingSurvey`}),` — persona e canais (enums fixos)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`referralCode`}),` — opcional`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Resposta: `,_jsx(_components.code,{children:`verificationToken`}),`, `,_jsx(_components.code,{children:`message`}),`, `,_jsx(_components.code,{children:`retryAfter`}),`. Em dev pode incluir `,_jsx(_components.code,{children:`devCode`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`survey-de-onboarding`,children:`Survey de onboarding`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Obrigatório`}),_jsx(_components.th,{children:`Valores / notas`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rolePersona`})}),_jsx(_components.td,{children:`sim`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`developer`}),`, `,_jsx(_components.code,{children:`company`}),`, `,_jsx(_components.code,{children:`store`}),`, `,_jsx(_components.code,{children:`marketing`}),`, `,_jsx(_components.code,{children:`autonomous`}),`, `,_jsx(_components.code,{children:`other`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`plannedChannels`})}),_jsx(_components.td,{children:`sim`}),_jsxs(_components.td,{children:[`1–11 itens: `,_jsx(_components.code,{children:`whatsapp`}),`, `,_jsx(_components.code,{children:`telegram`}),`, `,_jsx(_components.code,{children:`sms`}),`, `,_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`push`}),`, `,_jsx(_components.code,{children:`rcs`}),`, `,_jsx(_components.code,{children:`instagram`}),`, `,_jsx(_components.code,{children:`voice`}),`, `,_jsx(_components.code,{children:`widget-chat`}),`, `,_jsx(_components.code,{children:`pipeline`}),`, `,_jsx(_components.code,{children:`automations`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`primaryGoal`})}),_jsx(_components.td,{children:`opcional`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`attend_customers`}),`, `,_jsx(_components.code,{children:`automate`}),`, `,_jsx(_components.code,{children:`campaigns`}),`, `,_jsx(_components.code,{children:`api`}),`, `,_jsx(_components.code,{children:`team`}),`, `,_jsx(_components.code,{children:`exploring`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`companyName`}),`, `,_jsx(_components.code,{children:`websiteUrl`}),`, `,_jsx(_components.code,{children:`description`})]}),_jsx(_components.td,{children:`opcional`}),_jsx(_components.td,{children:`validação de site quando informado`})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`verificação-post-/v1/platform/verify`,children:[`Verificação (`,_jsx(_components.code,{children:`POST /v1/platform/verify`}),`)`]}),`\n`,_jsxs(_components.p,{children:[`Só para `,_jsx(_components.strong,{children:`OTP de telefone`}),` após `,_jsx(_components.code,{children:`register`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"verificationToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cJWT retornado no register>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123456\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Sucesso: `,_jsx(_components.code,{children:`apiKey`}),`, `,_jsx(_components.code,{children:`workspaceId`}),` (workspace inicial), `,_jsx(_components.code,{children:`user`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Código`}),_jsx(_components.th,{children:`Situação`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VERIFICATION_TOKEN_INVALID`})}),_jsx(_components.td,{children:`Token expirado ou de outro fluxo (ex.: token 2FA aqui)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OTP_INVALID`})}),_jsxs(_components.td,{children:[`Código incorreto (`,_jsx(_components.code,{children:`attemptsRemaining`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OTP_INVALID_OR_EXPIRED`})}),_jsxs(_components.td,{children:[`Código expirado — novo OTP exige novo `,_jsx(_components.code,{children:`register`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OTP_MAX_ATTEMPTS`})}),_jsx(_components.td,{children:`Muitas tentativas`})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`login-post-/v1/platform/login`,children:[`Login (`,_jsx(_components.code,{children:`POST /v1/platform/login`}),`)`]}),`\n`,_jsxs(_components.p,{children:[`Três modos no `,_jsx(_components.strong,{children:`mesmo endpoint`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Modo`}),_jsx(_components.th,{children:`Body`}),_jsx(_components.th,{children:`Resposta`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Credenciais`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`email`}),` + `,_jsx(_components.code,{children:`password`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`sessionToken`}),` ou `,_jsx(_components.code,{children:`requiresSecondFactor`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`2FA`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`verificationToken`}),` + `,_jsx(_components.code,{children:`totpCode`}),` ou `,_jsx(_components.code,{children:`backupCode`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`sessionToken`}),` (+ `,_jsx(_components.code,{children:`apiKey`}),` se pedido)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`+ API key`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`createApiKey: true`}),`, opcional `,_jsx(_components.code,{children:`workspaceId`})]}),_jsxs(_components.td,{children:[`também `,_jsx(_components.code,{children:`apiKey`}),` e `,_jsx(_components.code,{children:`workspaceId`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`boas-práticas`,children:`Boas práticas`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nunca`}),` logue `,_jsx(_components.code,{children:`apiKey`}),` ou `,_jsx(_components.code,{children:`verificationToken`}),` em stdout`]}),`\n`,_jsxs(_components.li,{children:[`Trate `,_jsx(_components.code,{children:`retryAfter`}),` antes de reenviar OTP`]}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`createApiKey: false`}),` se só precisa de `,_jsx(_components.code,{children:`sessionToken`})]}),`\n`,_jsxs(_components.li,{children:[`Após o onboarding, crie chaves restritas — `,_jsx(_components.a,{href:`/platform-api/como-funciona/escopos-api-key`,children:`Escopos`})]}),`\n`,_jsxs(_components.li,{children:[`Segundo workspace: `,_jsx(_components.a,{href:`/platform-api/como-funciona/workspaces`,children:`Workspaces`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Próximo: `,_jsx(_components.a,{href:`/platform-api/como-funciona/quick-start`,children:`Quick start`}),` · `,_jsx(_components.a,{href:`/platform-api/como-funciona/billing`,children:`Billing`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Registro e verificação","description":"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.","icon":"id-card","slug":"platform-registro-e-verificacao","href":"/platform-api/como-funciona/registro-e-verificacao"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"O que é o verificationToken?","slug":"o-que-é-o-verificationtoken","depth":2,"children":[]},{"title":"Credenciais no fluxo","slug":"credenciais-no-fluxo","depth":2,"children":[]},{"title":"Fluxo completo para agente ou script","slug":"fluxo-completo-para-agente-ou-script","depth":2,"children":[{"title":"1. Primeira conta e primeiro workspace","slug":"1-primeira-conta-e-primeiro-workspace","depth":3,"children":[]},{"title":"2. Criar um segundo workspace","slug":"2-criar-um-segundo-workspace","depth":3,"children":[]},{"title":"3. Login e API key no workspace certo","slug":"3-login-e-api-key-no-workspace-certo","depth":3,"children":[]},{"title":"4. Login com 2FA (quando ativo no painel)","slug":"4-login-com-2fa-quando-ativo-no-painel","depth":3,"children":[]}]},{"title":"Registro (POST /v1/platform/register)","slug":"registro-post-/v1/platform/register","depth":2,"children":[{"title":"Survey de onboarding","slug":"survey-de-onboarding","depth":3,"children":[]}]},{"title":"Verificação (POST /v1/platform/verify)","slug":"verificação-post-/v1/platform/verify","depth":2,"children":[]},{"title":"Login (POST /v1/platform/login)","slug":"login-post-/v1/platform/login","depth":2,"children":[]},{"title":"Boas práticas","slug":"boas-práticas","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"tribus","siteName":"Notifique","title":"Registro e verificação - Notifique","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/platform-api/como-funciona/registro-e-verificacao","matchLevel":0},"en":{"href":"/en/platform-api/como-funciona/registro-e-verificacao","matchLevel":1},"es":{"href":"/es/platform-api/como-funciona/registro-e-verificacao","matchLevel":1}}},"lastModified":"2026-08-15T03:06:41.252Z","originalFileLocation":"platform-api/como-funciona/registro-e-verificacao.md","locale":"pt-BR"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Notifique\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Registro e verificação - Notifique\">\u003cmeta data-mint-head property=\"og:description\" content=\"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Notifique\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tribus.mintlify.app/_mintlify/api/og/v2?division=Platform+API\u0026amp;title=Registro+e+verifica%C3%A7%C3%A3o\u0026amp;description=Crie+conta%2C+confirme+o+telefone+por+OTP+e+obtenha+a+API+key+sem+abrir+o+painel.\u0026amp;theme=8c9a8f58518c7b0a360dbb49\u0026amp;signature=cd06d7bb69d8384cc9a6f79596058cb691de757600716747c49f0b124120714a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Registro e verificação - Notifique\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tribus.mintlify.app/_mintlify/api/og/v2?division=Platform+API\u0026amp;title=Registro+e+verifica%C3%A7%C3%A3o\u0026amp;description=Crie+conta%2C+confirme+o+telefone+por+OTP+e+obtenha+a+API+key+sem+abrir+o+painel.\u0026amp;theme=8c9a8f58518c7b0a360dbb49\u0026amp;signature=cd06d7bb69d8384cc9a6f79596058cb691de757600716747c49f0b124120714a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Notifique\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#fbbf24\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/platform-api/como-funciona/registro-e-verificacao.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.notifique.dev/en/platform-api/como-funciona/registro-e-verificacao\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.notifique.dev/es/platform-api/como-funciona/registro-e-verificacao\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.notifique.dev/#organization\",\"name\":\"Notifique\",\"url\":\"https://docs.notifique.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/light.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=64d67c9a1c52ec357777b5632f714882\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.notifique.dev#website\",\"name\":\"Notifique\",\"url\":\"https://docs.notifique.dev\",\"publisher\":{\"@id\":\"https://docs.notifique.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao#webpage\",\"url\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao\",\"name\":\"Registro e verificação\",\"description\":\"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.\",\"dateModified\":\"2026-08-15T03:06:41.252Z\",\"isPartOf\":{\"@id\":\"https://docs.notifique.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Platform API\",\"item\":\"https://docs.notifique.dev/platform-api/como-funciona/introducao\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Registro e verificação\",\"item\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao#article\",\"headline\":\"Registro e verificação\",\"name\":\"Registro e verificação\",\"description\":\"Crie conta, confirme o telefone por OTP e obtenha a API key sem abrir o painel.\",\"url\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao\",\"mainEntityOfPage\":{\"@id\":\"https://docs.notifique.dev/platform-api/como-funciona/registro-e-verificacao#webpage\"},\"dateModified\":\"2026-08-15T03:06:41.252Z\",\"publisher\":{\"@id\":\"https://docs.notifique.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.notifique.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Notifique\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Notifique","nav":{"global":null,"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"tabs":[{"tab":"Bem-vindo","pages":[{"title":"Bem-vindo","href":"/welcome/welcome"}]},{"tab":"Guias","groups":[{"group":"Guias simples","pages":[{"title":"Comece aqui","icon":"golf-flag-hole","href":"/guides/introducao/comece-aqui"},{"title":"Sandbox","icon":"flask","href":"/guides/sandbox/index"},{"title":"Chaves de API","icon":"key","href":"/guides/api-key/index"},{"title":"Webhooks","icon":"webhook","href":"/guides/webhooks/index"}]},{"group":"Conheça mais","pages":[{"title":"Respostas de Erro","icon":"block-brick","href":"/guides/conceitos/resposta-de-erros"},{"title":"Identificadores de remetente","href":"/guides/conceitos/identificadores-de-remetente"},{"title":"Cobrança","icon":"wallet","href":"/guides/introducao/cobranca-e-pague-pelo-uso"},{"title":"Segurança e Confiabilidade","icon":"lock-hashtag","href":"/guides/conceitos/seguranca-e-confiabilidade"},{"title":"Logs da API","icon":"list-ul","href":"/guides/logs/index"},{"title":"API de denúncias (FELCA)","icon":"shield-exclamation","href":"/guides/compliance/report-api"}]},{"group":"Workspaces","pages":[{"title":"Workspaces","icon":"building","href":"/guides/workspaces/index"},{"title":"Trust Factor","icon":"shield-check","href":"/guides/workspaces/trust-factor"}]},{"group":"OAuth 2.1","pages":[{"title":"Introdução","icon":"shield-halved","href":"/oauth-api/como-funciona/introducao"},{"title":"Quick Start","icon":"bolt","href":"/oauth-api/como-funciona/quick-start"},{"title":"Escopos","icon":"key","href":"/oauth-api/como-funciona/escopos"},{"title":"MCP","icon":"plug","href":"/oauth-api/como-funciona/mcp"},{"title":"Construir um cliente","icon":"code","href":"/oauth-api/como-funciona/construir-cliente"},{"title":"Guia técnico do cliente","icon":"diagram-project","href":"/oauth-api/como-funciona/guia-tecnico-cliente"}]},{"group":"IA e no-code","pages":[{"title":"Construa com IA","icon":"flag","href":"/build-with-ai/hub"},{"title":"MCP da Notifique","icon":"robot","href":"/build-with-ai/mcp-notifique"},{"title":"Skills da Notifique","icon":"sparkles","href":"/build-with-ai/skills"},{"title":"LLMs.txt da Notifique","icon":"book-open","href":"/build-with-ai/llm"},{"title":"n8n + Notifique","icon":"user-robot","href":"/build-with-ai/n8n"}]},{"group":"BYOK","pages":[{"title":"BYOK, Bring Your Own Key","icon":"key","href":"/byok/index"},{"title":"Resend (e-mail)","icon":"mailbox-flag-up","href":"/byok/resend"},{"title":"Amazon SES (e-mail)","icon":"cloud","href":"/byok/ses"}]},{"group":"Changelog","pages":[{"title":"Changelog","icon":"up-down","href":"/changelog"}]},{"group":"Platform API","pages":[{"title":"Introdução","icon":"server","href":"/platform-api/como-funciona/introducao"},{"title":"Quick Start","icon":"bolt","description":"Do zero à conta verificada, plano assinado e primeira mensagem — sem abrir o painel.","href":"/platform-api/como-funciona/quick-start"},{"title":"Registro e verificação","icon":"id-card","href":"/platform-api/como-funciona/registro-e-verificacao"},{"title":"Billing via API","description":"Consulte plano, saldo, assinatura, cartões e recargas sem abrir o painel.","icon":"credit-card","href":"/platform-api/como-funciona/billing"},{"title":"Escopos da API Key","icon":"key","href":"/platform-api/como-funciona/escopos-api-key"},{"title":"Webhooks","icon":"webhook","href":"/platform-api/como-funciona/webhooks"},{"title":"Workspaces","icon":"building","href":"/platform-api/como-funciona/workspaces"},{"title":"Logs da API","icon":"list-ul","href":"/platform-api/como-funciona/logs"},{"title":"Métricas (overview)","icon":"chart-line","href":"/platform-api/como-funciona/metrics"},{"title":"Notify (fallback multicanal)","icon":"layer-group","href":"/platform-api/como-funciona/notify"},{"title":"OAuth","icon":"shield-halved","href":"/platform-api/como-funciona/oauth"}]},{"group":"Conta","pages":[{"title":"Registrar conta","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/register","href":"/api-reference/platform:-conta/registrar-conta"},{"title":"Verificar telefone","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/verify","href":"/api-reference/platform:-conta/verificar-telefone"},{"title":"Login","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/login","href":"/api-reference/platform:-conta/login"},{"title":"Perfil da sessão","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/me","href":"/api-reference/platform:-conta/perfil-da-sessão"},{"title":"Listar workspaces do usuário","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/workspaces","href":"/api-reference/platform:-workspaces/listar-workspaces-do-usuário"}]},{"group":"API Keys","pages":[{"title":"Listar API keys","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/api-keys","href":"/api-reference/platform:-api-keys/listar-api-keys"},{"title":"Criar API key","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/api-keys","href":"/api-reference/platform:-api-keys/criar-api-key"},{"title":"Consultar API key","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/api-keys/{id}","href":"/api-reference/platform:-api-keys/consultar-api-key"},{"title":"Editar API key","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json patch /v1/platform/api-keys/{id}","href":"/api-reference/platform:-api-keys/editar-api-key"},{"title":"Revogar API key","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/api-keys/{id}/revoke","href":"/api-reference/platform:-api-keys/revogar-api-key"},{"title":"Excluir API key","deprecated":null,"version":null,"openapi":"/platform-api/api-reference/openapi-platform.json delete /v1/platform/api-keys/{id}","href":"/api-reference/platform:-api-keys/excluir-api-key"}]},{"group":"Billing","pages":[{"title":"Consultar assinatura","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/workspaces/{id}/subscription","href":"/api-reference/platform:-billing/consultar-assinatura"},{"title":"Assinar ou mudar plano","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/workspaces/{id}/subscription","href":"/api-reference/platform:-billing/assinar-ou-mudar-plano"},{"title":"Cancelar assinatura","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json delete /v1/platform/workspaces/{id}/subscription","href":"/api-reference/platform:-billing/cancelar-assinatura"},{"title":"Consultar saldo","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/workspaces/{id}/balance","href":"/api-reference/platform:-billing/consultar-saldo"},{"title":"Recarregar saldo","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/workspaces/{id}/balance/recharge","href":"/api-reference/platform:-billing/recarregar-saldo"},{"title":"Listar cartões","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/workspaces/{id}/payment-methods","href":"/api-reference/platform:-billing/listar-cartões"},{"title":"Cadastrar cartão","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/workspaces/{id}/payment-methods","href":"/api-reference/platform:-billing/cadastrar-cartão"},{"title":"Atualizar cartão","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json patch /v1/platform/workspaces/{id}/payment-methods/{pmId}","href":"/api-reference/platform:-billing/atualizar-cartão"},{"title":"Remover cartão","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json delete /v1/platform/workspaces/{id}/payment-methods/{pmId}","href":"/api-reference/platform:-billing/remover-cartão"}]},{"group":"Créditos","pages":[{"title":"Histórico detalhado de uso de créditos","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/workspaces/{id}/credits/usage","href":"/api-reference/platform:-billing/histórico-detalhado-de-uso-de-créditos"}]},{"group":"Equipe","pages":[{"title":"Listar membros","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/workspaces/{id}/members","href":"/api-reference/platform:-equipe/listar-membros"},{"title":"Remover membro","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json delete /v1/platform/workspaces/{id}/members/{userId}","href":"/api-reference/platform:-equipe/remover-membro"},{"title":"Listar convites pendentes","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json get /v1/platform/workspaces/{id}/invites","href":"/api-reference/platform:-equipe/listar-convites-pendentes"},{"title":"Convidar membro","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json post /v1/platform/workspaces/{id}/invites","href":"/api-reference/platform:-equipe/convidar-membro"},{"title":"Cancelar convite","deprecated":null,"version":null,"openapi":"/es/platform-api/api-reference/openapi-platform.json delete /v1/platform/workspaces/{id}/invites/{inviteId}","href":"/api-reference/platform:-equipe/cancelar-convite"}]},{"group":"Metadados","pages":[{"title":"Metadados do Authorization Server","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json get /.well-known/oauth-authorization-server","href":"/api-reference/metadados/metadados-do-authorization-server"},{"title":"Chaves públicas (JWKS)","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json get /.well-known/jwks.json","href":"/api-reference/metadados/chaves-públicas-jwks"},{"title":"Metadados do recurso MCP","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json get /.well-known/oauth-protected-resource","href":"/api-reference/metadados/metadados-do-recurso-mcp"}]},{"group":"OAuth","pages":[{"title":"Registrar cliente (DCR)","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json post /oauth/register","href":"/api-reference/oauth/registrar-cliente-dcr"},{"title":"Autorizar (browser)","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json get /oauth/authorize","href":"/api-reference/oauth/autorizar-browser"},{"title":"Obter ou renovar tokens","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json post /oauth/token","href":"/api-reference/oauth/obter-ou-renovar-tokens"},{"title":"Revogar token","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json post /oauth/revoke","href":"/api-reference/oauth/revogar-token"},{"title":"Listar OAuth apps do workspace","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json get /v1/oauth/apps","href":"/api-reference/oauth-apps/listar-oauth-apps-do-workspace"},{"title":"Criar OAuth app","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json post /v1/oauth/apps","href":"/api-reference/oauth-apps/criar-oauth-app"},{"title":"Consultar OAuth app","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json get /v1/oauth/apps/{id}","href":"/api-reference/oauth-apps/consultar-oauth-app"},{"title":"Atualizar OAuth app","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json patch /v1/oauth/apps/{id}","href":"/api-reference/oauth-apps/atualizar-oauth-app"},{"title":"Excluir OAuth app","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json delete /v1/oauth/apps/{id}","href":"/api-reference/oauth-apps/excluir-oauth-app"},{"title":"Rotacionar client secret","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json post /v1/oauth/apps/{id}/rotate-secret","href":"/api-reference/oauth-apps/rotacionar-client-secret"},{"title":"Listar apps conectados","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json get /v1/oauth/connections","href":"/api-reference/oauth-apps/listar-apps-conectados"},{"title":"Revogar conexão","deprecated":null,"version":null,"openapi":"/es/oauth-api/api-reference/openapi-oauth.json post /v1/oauth/connections/{id}/revoke","href":"/api-reference/oauth-apps/revogar-conexão"}]},{"group":"Webhooks","pages":[{"title":"Listar webhooks","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json get /v1/webhooks","href":"/api-reference/webhooks/listar-webhooks"},{"title":"Criar webhook","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json post /v1/webhooks","href":"/api-reference/webhooks/criar-webhook"},{"title":"Consultar webhook","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json get /v1/webhooks/{id}","href":"/api-reference/webhooks/consultar-webhook"},{"title":"Atualizar webhook","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json put /v1/webhooks/{id}","href":"/api-reference/webhooks/atualizar-webhook"},{"title":"Atualizar cabeçalhos/URL","deprecated":null,"version":null,"openapi":"/guides/webhooks/api-reference/openapi-webhooks.json patch /v1/webhooks/{id}","href":"/api-reference/webhooks/atualizar-cabeçalhosurl"},{"title":"Excluir webhook","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json delete /v1/webhooks/{id}","href":"/api-reference/webhooks/excluir-webhook"},{"title":"Rotacionar secret do webhook","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json post /v1/webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/rotacionar-secret-do-webhook"}]},{"group":"Entregas","pages":[{"title":"Listar entregas","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json get /v1/webhooks/deliveries","href":"/api-reference/entregas/listar-entregas"},{"title":"Detalhe da entrega","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json get /v1/webhooks/deliveries/{deliveryId}","href":"/api-reference/entregas/detalhe-da-entrega"},{"title":"Reenviar entrega","deprecated":null,"version":null,"openapi":"/es/guides/webhooks/api-reference/openapi-webhooks.json post /v1/webhooks/deliveries/{deliveryId}/resend","href":"/api-reference/entregas/reenviar-entrega"}]},{"group":"Logs","pages":[{"title":"Listar logs","deprecated":null,"version":null,"openapi":"/es/guides/logs/api-reference/openapi-logs.json get /v1/logs","href":"/api-reference/logs/listar-logs"},{"title":"Detalhe do log","deprecated":null,"version":null,"openapi":"/es/guides/logs/api-reference/openapi-logs.json get /v1/logs/{id}","href":"/api-reference/logs/detalhe-do-log"}]},{"group":"Workspaces","pages":[{"title":"Listar workspace da chave","deprecated":null,"version":null,"openapi":"/es/guides/workspaces/api-reference/openapi-workspaces.json get /v1/workspaces","href":"/api-reference/workspaces/listar-workspace-da-chave"},{"title":"Criar workspace","deprecated":null,"version":null,"openapi":"/es/guides/workspaces/api-reference/openapi-workspaces.json post /v1/workspaces","href":"/api-reference/workspaces/criar-workspace"},{"title":"Obter workspace","deprecated":null,"version":null,"openapi":"/es/guides/workspaces/api-reference/openapi-workspaces.json get /v1/workspaces/{id}","href":"/api-reference/workspaces/obter-workspace"},{"title":"Editar workspace","deprecated":null,"version":null,"openapi":"/es/guides/workspaces/api-reference/openapi-workspaces.json put /v1/workspaces/{id}","href":"/api-reference/workspaces/editar-workspace"},{"title":"Deletar workspace","deprecated":null,"version":null,"openapi":"/es/guides/workspaces/api-reference/openapi-workspaces.json delete /v1/workspaces/{id}","href":"/api-reference/workspaces/deletar-workspace"}]}]},{"tab":"WhatsApp","pages":[{"title":"WhatsApp","href":"/whatsapp-api/como-funciona/introducao"}]},{"tab":"SMS","pages":[{"title":"SMS","href":"/sms-api/como-funciona/introducao"}]},{"tab":"Telegram","pages":[{"title":"Telegram","href":"/telegram-api/como-funciona/introducao"}]},{"tab":"Instagram","pages":[{"title":"Instagram","href":"/instagram-api/como-funciona/introducao"}]},{"tab":"Emails","pages":[{"title":"Emails","href":"/emails-api/como-funciona/introducao"}]},{"tab":"Push","pages":[{"title":"Push","href":"/push-api/como-funciona/introducao"}]},{"tab":"Chat","pages":[{"title":"Chat","href":"/chat-api/como-funciona/introducao"}]},{"tab":"RCS","pages":[{"title":"RCS","href":"/rcs-api/como-funciona/introducao"}]},{"tab":"Voz","pages":[{"title":"Voz","href":"/voice-api/como-funciona/introducao"}]},{"tab":"Chat no site","pages":[{"title":"Chat no site","href":"/ai-web-widget"}]},{"tab":"Templates","pages":[{"title":"Templates","href":"/template-api/como-funciona/introducao"}]},{"tab":"Contatos","pages":[{"title":"Contatos","href":"/contacts-api/como-funciona/introducao"}]},{"tab":"Automações","pages":[{"title":"Automações","href":"/automations-api/como-funciona/introducao"}]},{"tab":"Add-ons","pages":[{"title":"Add-ons","href":"/addons"}]}]},{"language":"en","pages":[{"title":"en","href":"/en/platform-api/como-funciona/registro-e-verificacao"}]},{"language":"es","pages":[{"title":"es","href":"/es/platform-api/como-funciona/registro-e-verificacao"}]}]},"basePath":"","title":"Registro e verificação - Notifique","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}