O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.
Todo POST /send-* responde queued na hora. O delivery chega depois, quando o aparelho enviou a mensagem ou desistiu. O mesmo vale para ações sobre uma mensagem que já existe, como editar, apagar (DELETE /messages), reagir, remover reação, fixar e votar em enquete. O campo operation diz qual foi.
Quando você apaga, edita, reage ou fixa uma mensagem, message_id é o da mensagem referenciada (o mesmo que a resposta do endpoint devolveu) e operation diz qual ação foi feita. A falha é da ação e a mensagem original continua como estava. Não a marque como erro de envio.
O que foi feito: send (mensagem nova, inclusive encaminhar), edit, delete, reaction, remove_reaction, pin, unpin, poll_vote ou event_response
wabox_id
O mesmo devolvido pelo endpoint de envio. Use para casar com a chamada original
message_id
Igual ao da resposta do endpoint. É o id da mensagem nova (incluindo o seu custom_message_id) ou, em edit/delete/reaction/remove_reaction/pin/unpin, o da mensagem referenciada. Vem também nas falhas
phone
Destino, exatamente como você mandou no envio
canonical_phone
O número para onde a mensagem foi no WhatsApp, quando o Wabox o conhece (por verify_phone ou porque o número já foi conferido antes). Pode ser diferente de phone no celular brasileiro, com ou sem o nono dígito. Os received e message_status dessa conversa chegam com este número. Veja Número certo no envio
error, error_code
Só em falha. error_code é estável; a lista está em Erros
Para atualizar o status de envio de uma mensagem, considere só operation: "send". Com error_code em qualquer outra operation, registre a falha da ação (a mensagem não foi apagada, editada ou reagida) sem mexer no status do envio.
Número sem WhatsApp. Envie com verify_phone: true para o Wabox conferir antes, ou confira você com GET /phone-exists/{phone} ou POST /phone-exists-batch
media_download_failed
O engine não conseguiu baixar a URL. Ela precisa ser pública e responder rápido; ou envie em base64
media_invalid
Acima do limite (16 MB mídia / 100 MB documento) ou formato não aceito (ex.: sticker que não é WebP sem ffmpeg)
message_not_found
Você respondeu/encaminhou/editou/apagou/reagiu a uma mensagem que o engine não tem em cache. Veja Fila e reenvio
send_timeout
O aparelho não confirmou a tempo (celular sem rede por muito tempo). A mensagem pode ter saído; confira pelo message_status
queue_expired
A mensagem passou mais que queue_max_age_hours (padrão 12 h) na fila, normalmente com a instância desconectada, e foi descartada sem envio. Reenviar é seguro. Veja Fila e reenvio
shadow_ban
O WhatsApp aceita mas não entrega. Pare os envios em massa e leia Boas práticas
not_allowed
Contato bloqueou o número, grupo só para admins, etc.
Não é recibo de entrega ao destinatário. delivery diz que a mensagem saiu do seu aparelho. “Chegou no celular do contato” é message_status com RECEIVED; “leu” é READ.
Não vem para mensagens enviadas pelo celular, só para envios pela API.
POST /send-text responde 200 { wabox_id, message_id, status: "queued" }
A mensagem espera o intervalo anti-ban na fila (1 a 3 s por padrão)
Chega o delivery com o mesmo wabox_id e message_id, ou com error_code se falhou
Chegam os message_statusRECEIVED e READ, um de cada por aparelho do contato, mais um SENT do seu próprio celular, em qualquer ordem (detalhes)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Wabox","description":"API de WhatsApp para o seu sistema: instâncias, envio de mensagens e webhooks via REST.","colors":{"primary":"#008942","light":"#25D366","dark":"#008942"},"logo":{"light":"https://mintcdn.com/wabox/JOj0JQ8ScPXFb4Jr/logo/light.svg?fit=max\u0026auto=format\u0026n=JOj0JQ8ScPXFb4Jr\u0026q=85\u0026s=dd2497384265f72c3092896c854dcda7","dark":"https://mintcdn.com/wabox/JOj0JQ8ScPXFb4Jr/logo/dark.svg?fit=max\u0026auto=format\u0026n=JOj0JQ8ScPXFb4Jr\u0026q=85\u0026s=7560338ea53e36182290568cb35cff25","href":"https://wabox.me"},"favicon":"https://mintcdn.com/wabox/JOj0JQ8ScPXFb4Jr/favicon.svg?fit=max\u0026auto=format\u0026n=JOj0JQ8ScPXFb4Jr\u0026q=85\u0026s=ee7c5c9a39e5c5bd3630d83e94394c2a","api":{"params":{"expanded":"closed"},"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","javascript","python","php","go"]}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"https://app.wabox.me/login","label":"Entrar"}],"primary":{"type":"button","label":"Criar conta grátis","href":"https://app.wabox.me/signup"}},"footer":{"socials":{"website":"https://wabox.me","github":"https://github.com/wabox"}},"search":{"prompt":"Buscar na documentação…"},"seo":{"indexing":"navigable"},"fonts":{"heading":{"family":"Bricolage Grotesque"},"body":{"family":"Inter"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"markdown":{"schema":true,"instructions":["Wabox é uma API não-oficial de WhatsApp (aparelho vinculado). Tudo é snake_case; a base é https://api.wabox.me/instances/{instance_id}/token/{token}.","Envios respondem { id, message_id, wabox_id, status: \"queued\" } na hora; o resultado real chega no webhook delivery. Envios não são idempotentes: confira GET /queue antes de repetir.","Sempre verifique X-Wabox-Signature (HMAC-SHA256 de \"\u003ct>.\u003ccorpo cru>\") nos webhooks e deduplique por event_id.","Botões, listas, carrossel e catálogo são best effort e não renderizam no WhatsApp Web/Desktop. Não existem: chamadas, listas de transmissão, histórico de mensagens, instância mobile.","Não invente endpoints ou campos: use o OpenAPI em https://api.wabox.me/openapi.json."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wabox","hasAudioNarration":false,"actualSubdomain":"wabox","customDomains":["developer.wabox.me"],"gitSource":{"type":"github","owner":"naldeia","repo":"wabox","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae517933b9dba255a03fd4a","collectionId":"643a71fd-1f5f-4174-b899-ef4663d2b644","liveDeploymentHistoryId":"6ae517933b9dba255a03fd4a","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae517933b9dba255a03fd4a","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":277},{"language":"default","tag":"Endpoints","count":132},{"language":"default","tag":"Mensagens","count":42},{"language":"default","tag":"Documentação","count":38},{"language":"default","tag":"Instância","count":30},{"language":"default","tag":"Business e catálogo","count":26},{"language":"default","tag":"Interativos","count":24},{"language":"default","tag":"Grupos","count":22},{"language":"default","tag":"Canais","count":22},{"language":"default","tag":"Conta","count":21}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"webhooks/delivery","slug":"/webhooks/delivery","pageMetadata":{"title":"Webhook delivery","description":"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.","sidebarTitle":"delivery","icon":"send","href":"/webhooks/delivery"},"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: \"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.\"\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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Todo `,_jsx(_components.code,{children:`POST /send-*`}),` responde `,_jsx(_components.code,{children:`queued`}),` na hora. O `,_jsx(_components.code,{children:`delivery`}),` chega depois, quando o aparelho enviou a mensagem ou desistiu. O mesmo vale para ações sobre uma mensagem que já existe, como editar, apagar (`,_jsx(_components.code,{children:`DELETE /messages`}),`), reagir, remover reação, fixar e votar em enquete. O campo `,_jsx(_components.code,{children:`operation`}),` diz qual foi.`]}),`\n`,_jsx(Heading,{level:`2`,id:`sucesso`,children:`Sucesso`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,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:`11`,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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delivery\"`}),_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:` \"event_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"01J5Q8ZK3M4N5P6Q7R8S9T0V1X\"`}),_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:` \"instance_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8f2a3c1e-6b7d-4e5f-9a0b-1c2d3e4f5a6b\"`}),_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:` \"momment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786968420000`}),_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:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"wabox_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wbx_01J5Q8ZK3M4N5P6Q7R8S9T0M01\"`}),_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:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3EB0A9C6D2F1E4B5A7D0\"`}),_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5511988887777\"`}),_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:` \"canonical_phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"551188887777\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`falha`,children:`Falha`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delivery\"`}),_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:` \"event_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"01J5Q8ZK3M4N5P6Q7R8S9T0V1Z\"`}),_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:` \"instance_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8f2a3c1e-6b7d-4e5f-9a0b-1c2d3e4f5a6b\"`}),_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:` \"momment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786968425000`}),_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:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send\"`}),_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:` \"wabox_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wbx_01J5Q8ZK3M4N5P6Q7R8S9T0M02\"`}),_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:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3EB0B7E1C4A2D9F6E3B8\"`}),_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5511900000000\"`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"phone is not on WhatsApp\"`}),_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:` \"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"phone_not_on_whatsapp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`falha-de-uma-ação`,children:`Falha de uma ação`}),`\n`,_jsxs(_components.p,{children:[`Quando você apaga, edita, reage ou fixa uma mensagem, `,_jsx(_components.code,{children:`message_id`}),` é o da mensagem referenciada (o mesmo que a resposta do endpoint devolveu) e `,_jsx(_components.code,{children:`operation`}),` diz qual ação foi feita. A falha é da ação e a mensagem original continua como estava. Não a marque como erro de envio.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delivery\"`}),_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:` \"event_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"01J5Q8ZK3M4N5P6Q7R8S9T0V2C\"`}),_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:` \"instance_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8f2a3c1e-6b7d-4e5f-9a0b-1c2d3e4f5a6b\"`}),_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:` \"momment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1786968430000`}),_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:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delete\"`}),_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:` \"wabox_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wbx_01J5Q8ZK3M4N5P6Q7R8S9T0M03\"`}),_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:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3EB0A9C6D2F1E4B5A7D0\"`}),_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5511988887777\"`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"message not found\"`}),_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:` \"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"message_not_found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`operation`})}),_jsxs(_components.td,{children:[`O que foi feito: `,_jsx(_components.code,{children:`send`}),` (mensagem nova, inclusive encaminhar), `,_jsx(_components.code,{children:`edit`}),`, `,_jsx(_components.code,{children:`delete`}),`, `,_jsx(_components.code,{children:`reaction`}),`, `,_jsx(_components.code,{children:`remove_reaction`}),`, `,_jsx(_components.code,{children:`pin`}),`, `,_jsx(_components.code,{children:`unpin`}),`, `,_jsx(_components.code,{children:`poll_vote`}),` ou `,_jsx(_components.code,{children:`event_response`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wabox_id`})}),_jsx(_components.td,{children:`O mesmo devolvido pelo endpoint de envio. Use para casar com a chamada original`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_id`})}),_jsxs(_components.td,{children:[`Igual ao da resposta do endpoint. É o id da mensagem nova (incluindo o seu `,_jsx(_components.code,{children:`custom_message_id`}),`) ou, em `,_jsx(_components.code,{children:`edit`}),`/`,_jsx(_components.code,{children:`delete`}),`/`,_jsx(_components.code,{children:`reaction`}),`/`,_jsx(_components.code,{children:`remove_reaction`}),`/`,_jsx(_components.code,{children:`pin`}),`/`,_jsx(_components.code,{children:`unpin`}),`, o da mensagem referenciada. Vem também nas falhas`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{children:`Destino, exatamente como você mandou no envio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`canonical_phone`})}),_jsxs(_components.td,{children:[`O número para onde a mensagem foi no WhatsApp, quando o Wabox o conhece (por `,_jsx(_components.code,{children:`verify_phone`}),` ou porque o número já foi conferido antes). Pode ser diferente de `,_jsx(_components.code,{children:`phone`}),` no celular brasileiro, com ou sem o nono dígito. Os `,_jsx(_components.code,{children:`received`}),` e `,_jsx(_components.code,{children:`message_status`}),` dessa conversa chegam com este número. Veja `,_jsx(_components.a,{href:`/guides/identifiers#numero-certo-no-envio`,children:`Número certo no envio`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`error`}),`, `,_jsx(_components.code,{children:`error_code`})]}),_jsxs(_components.td,{children:[`Só em falha. `,_jsx(_components.code,{children:`error_code`}),` é estável; a lista está em `,_jsx(_components.a,{href:`/api-reference/errors#erros-de-operacao-acoes-imediatas-ou-webhook-delivery`,children:`Erros`})]})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Para atualizar o status de envio de uma mensagem, considere só `,_jsx(_components.code,{children:`operation: \"send\"`}),`. Com `,_jsx(_components.code,{children:`error_code`}),` em qualquer outra `,_jsx(_components.code,{children:`operation`}),`, registre a falha da ação (a mensagem não foi apagada, editada ou reagida) sem mexer no status do envio.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`códigos-mais-comuns`,children:`Códigos mais comuns`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`error_code`})}),_jsx(_components.th,{children:`O que fazer`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone_not_on_whatsapp`})}),_jsxs(_components.td,{children:[`Número sem WhatsApp. Envie com `,_jsx(_components.code,{children:`verify_phone: true`}),` para o Wabox conferir antes, ou confira você com `,_jsx(_components.code,{children:`GET /phone-exists/{phone}`}),` ou `,_jsx(_components.code,{children:`POST /phone-exists-batch`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`media_download_failed`})}),_jsx(_components.td,{children:`O engine não conseguiu baixar a URL. Ela precisa ser pública e responder rápido; ou envie em base64`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`media_invalid`})}),_jsx(_components.td,{children:`Acima do limite (16 MB mídia / 100 MB documento) ou formato não aceito (ex.: sticker que não é WebP sem ffmpeg)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_not_found`})}),_jsxs(_components.td,{children:[`Você respondeu/encaminhou/editou/apagou/reagiu a uma mensagem que o engine não tem em cache. Veja `,_jsx(_components.a,{href:`/guides/queue-and-retries`,children:`Fila e reenvio`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`send_timeout`})}),_jsxs(_components.td,{children:[`O aparelho não confirmou a tempo (celular sem rede por muito tempo). A mensagem pode ter saído; confira pelo `,_jsx(_components.code,{children:`message_status`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`queue_expired`})}),_jsxs(_components.td,{children:[`A mensagem passou mais que `,_jsx(_components.code,{children:`queue_max_age_hours`}),` (padrão 12 h) na fila, normalmente com a instância desconectada, e foi descartada sem envio. Reenviar é seguro. Veja `,_jsx(_components.a,{href:`/guides/queue-and-retries#validade-das-mensagens-na-fila`,children:`Fila e reenvio`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shadow_ban`})}),_jsxs(_components.td,{children:[`O WhatsApp aceita mas não entrega. Pare os envios em massa e leia `,_jsx(_components.a,{href:`/guides/best-practices`,children:`Boas práticas`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_allowed`})}),_jsx(_components.td,{children:`Contato bloqueou o número, grupo só para admins, etc.`})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`o-que-delivery-não-é`,children:[`O que `,_jsx(_components.code,{children:`delivery`}),` não é`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Não é recibo de entrega ao destinatário. `,_jsx(_components.code,{children:`delivery`}),` diz que a mensagem saiu do seu aparelho. “Chegou no celular do contato” é `,_jsx(_components.code,{children:`message_status`}),` com `,_jsx(_components.code,{children:`RECEIVED`}),`; “leu” é `,_jsx(_components.code,{children:`READ`}),`.`]}),`\n`,_jsx(_components.li,{children:`Não vem para mensagens enviadas pelo celular, só para envios pela API.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`fluxo-completo-de-um-envio`,children:`Fluxo completo de um envio`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POST /send-text`}),` responde `,_jsx(_components.code,{children:`200 { wabox_id, message_id, status: \"queued\" }`})]}),`\n`,_jsx(_components.li,{children:`A mensagem espera o intervalo anti-ban na fila (1 a 3 s por padrão)`}),`\n`,_jsxs(_components.li,{children:[`Chega o `,_jsx(_components.code,{children:`delivery`}),` com o mesmo `,_jsx(_components.code,{children:`wabox_id`}),` e `,_jsx(_components.code,{children:`message_id`}),`, ou com `,_jsx(_components.code,{children:`error_code`}),` se falhou`]}),`\n`,_jsxs(_components.li,{children:[`Chegam os `,_jsx(_components.code,{children:`message_status`}),` `,_jsx(_components.code,{children:`RECEIVED`}),` e `,_jsx(_components.code,{children:`READ`}),`, um de cada por aparelho do contato, mais um `,_jsx(_components.code,{children:`SENT`}),` do seu próprio celular, em qualquer ordem (`,_jsx(_components.a,{href:`/webhooks/message-status#um-recibo-por-aparelho`,children:`detalhes`}),`)`]}),`\n`]})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Webhook delivery","description":"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.","sidebarTitle":"delivery","icon":"send","href":"/webhooks/delivery"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Sucesso","slug":"sucesso","depth":2,"children":[]},{"title":"Falha","slug":"falha","depth":2,"children":[]},{"title":"Falha de uma ação","slug":"falha-de-uma-ação","depth":2,"children":[]},{"title":"Códigos mais comuns","slug":"códigos-mais-comuns","depth":2,"children":[]},{"title":"O que delivery não é","slug":"o-que-delivery-não-é","depth":2,"children":[]},{"title":"Fluxo completo de um envio","slug":"fluxo-completo-de-um-envio","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"wabox","siteName":"Wabox","title":"Webhook delivery - Wabox","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T16:49:08.918Z","originalFileLocation":"webhooks/delivery.mdx"},"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=\"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Wabox\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wabox/FrGj2wYTqmVg9_Yr/_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/wabox/FrGj2wYTqmVg9_Yr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wabox/FrGj2wYTqmVg9_Yr/_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/wabox/FrGj2wYTqmVg9_Yr/_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/wabox/FrGj2wYTqmVg9_Yr/_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/wabox/FrGj2wYTqmVg9_Yr/_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/wabox/FrGj2wYTqmVg9_Yr/_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/wabox/FrGj2wYTqmVg9_Yr/_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/wabox/FrGj2wYTqmVg9_Yr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Webhook delivery - Wabox\">\u003cmeta data-mint-head property=\"og:description\" content=\"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wabox\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.wabox.me/webhooks/delivery\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wabox.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Webhook+delivery\u0026amp;description=O+resultado+de+cada+envio+ou+a%C3%A7%C3%A3o+da+API.+Diz+se+saiu+do+aparelho+ou+falhou%2C+e+por+qu%C3%AA.\u0026amp;theme=bf7bbdcb4ca3b322327582a5\u0026amp;signature=cab9df5e74a11ff735ac0e2918d21cddb9304527e97b70acb76a727062ab3156\">\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=\"Webhook delivery - Wabox\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wabox.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Webhook+delivery\u0026amp;description=O+resultado+de+cada+envio+ou+a%C3%A7%C3%A3o+da+API.+Diz+se+saiu+do+aparelho+ou+falhou%2C+e+por+qu%C3%AA.\u0026amp;theme=bf7bbdcb4ca3b322327582a5\u0026amp;signature=cab9df5e74a11ff735ac0e2918d21cddb9304527e97b70acb76a727062ab3156\">\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/wabox/FrGj2wYTqmVg9_Yr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Wabox\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#008942\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.wabox.me/webhooks/delivery\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/webhooks/delivery.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.wabox.me/#organization\",\"name\":\"Wabox\",\"url\":\"https://developer.wabox.me\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wabox/JOj0JQ8ScPXFb4Jr/logo/light.svg?fit=max\u0026auto=format\u0026n=JOj0JQ8ScPXFb4Jr\u0026q=85\u0026s=dd2497384265f72c3092896c854dcda7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.wabox.me#website\",\"name\":\"Wabox\",\"url\":\"https://developer.wabox.me\",\"publisher\":{\"@id\":\"https://developer.wabox.me/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.wabox.me/webhooks/delivery#webpage\",\"url\":\"https://developer.wabox.me/webhooks/delivery\",\"name\":\"Webhook delivery\",\"description\":\"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.\",\"dateModified\":\"2026-10-14T16:49:08.918Z\",\"isPartOf\":{\"@id\":\"https://developer.wabox.me#website\"},\"breadcrumb\":{\"@id\":\"https://developer.wabox.me/webhooks/delivery#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.wabox.me/webhooks/delivery#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://developer.wabox.me/webhooks/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webhook delivery\",\"item\":\"https://developer.wabox.me/webhooks/delivery\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.wabox.me/webhooks/delivery#article\",\"headline\":\"Webhook delivery\",\"name\":\"Webhook delivery\",\"description\":\"O resultado de cada envio ou ação da API. Diz se saiu do aparelho ou falhou, e por quê.\",\"url\":\"https://developer.wabox.me/webhooks/delivery\",\"mainEntityOfPage\":{\"@id\":\"https://developer.wabox.me/webhooks/delivery#webpage\"},\"dateModified\":\"2026-10-14T16:49:08.918Z\",\"publisher\":{\"@id\":\"https://developer.wabox.me/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.wabox.me#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Wabox\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Wabox","nav":{"global":null,"tabs":[{"tab":"Documentação","groups":[{"group":"Começar","pages":[{"title":"Introdução","icon":"book-open","href":"/introduction"},{"title":"Primeiros passos","icon":"rocket","href":"/quickstart"},{"title":"Conceitos","icon":"lightbulb","href":"/concepts"},{"title":"Construir com IA","icon":"sparkles","href":"/build-with-ai"}]},{"group":"Autenticação e segurança","pages":[{"title":"Autenticação","icon":"key-round","href":"/security/authentication"},{"title":"API keys","icon":"key","href":"/security/api-keys"},{"title":"Allowlist de IPs","icon":"network","href":"/security/ip-allowlist"},{"title":"Assinatura dos webhooks","icon":"shield-check","href":"/security/webhook-signature"},{"title":"Rotação de token e segredo","icon":"refresh-cw","href":"/security/credential-rotation"}]},{"group":"Webhooks","pages":[{"title":"Visão geral dos webhooks","sidebarTitle":"Visão geral","icon":"webhook","href":"/webhooks/overview"},{"title":"Webhook received","description":"Toda mensagem que chega ao número, com o conteúdo em um bloco por tipo.","sidebarTitle":"received","icon":"message-square","href":"/webhooks/received"},{"title":"Webhook delivery","sidebarTitle":"delivery","icon":"send","href":"/webhooks/delivery"},{"title":"Webhook message_status","description":"Os ticks: enviada, entregue, lida e reproduzida, para as mensagens que você mandou.","sidebarTitle":"message_status","icon":"check-check","href":"/webhooks/message-status"},{"title":"Webhook instance_status","sidebarTitle":"instance_status","icon":"plug-zap","href":"/webhooks/instance-status"},{"title":"Webhook chat_presence","sidebarTitle":"chat_presence","icon":"pencil-line","href":"/webhooks/chat-presence"},{"title":"Filtros de webhook","icon":"filter","href":"/webhooks/filters"}]},{"group":"Guias","pages":[{"title":"Boas práticas e anti-ban","icon":"shield-alert","href":"/guides/best-practices"},{"title":"Wabox × API oficial do WhatsApp","icon":"scale","href":"/guides/official-api"},{"title":"Tipos de mensagem","icon":"message-square-text","href":"/guides/message-types"},{"title":"O que renderiza onde","icon":"smartphone","href":"/guides/rendering-support"},{"title":"Mídia","icon":"image","href":"/guides/media"},{"title":"Fila e reenvio","icon":"list-ordered","href":"/guides/queue-and-retries"},{"title":"Rate limit e tratamento de erros","icon":"activity","href":"/guides/rate-limits-and-errors"},{"title":"Identificadores: phone, LID, grupos e canais","icon":"fingerprint","href":"/guides/identifiers"},{"title":"Diagnóstico pela aba Testes","icon":"flask-conical","href":"/guides/diagnostics"}]},{"group":"Migrando do z-api","pages":[{"title":"Migrando do z-api","icon":"arrow-right-left","href":"/migration/z-api"},{"title":"Tabela de rotas z-api → Wabox","icon":"arrow-right-left","href":"/migration/route-mapping"}]},{"group":"Integrações","pages":[{"title":"SDK TypeScript","icon":"code-xml","href":"/integrations/sdk-typescript"},{"title":"Claude, ChatGPT e outros apps de IA (MCP)","icon":"bot","href":"/integrations/mcp"},{"title":"n8n","icon":"workflow","href":"/integrations/n8n"},{"title":"Make","icon":"puzzle","href":"/integrations/make"},{"title":"Zapier","icon":"zap","href":"/integrations/zapier"},{"title":"Typebot","icon":"bot","href":"/integrations/typebot"},{"title":"Integração HTTP genérica","icon":"globe","href":"/integrations/http"}]},{"group":"Conta","pages":[{"title":"Account API","icon":"layers","href":"/account/api"}]},{"group":"Referências","pages":[{"title":"Limitações conhecidas","icon":"circle-alert","href":"/resources/limitations"},{"title":"Postman, Insomnia e clientes gerados","icon":"package","href":"/resources/postman"},{"title":"Changelog","icon":"history","href":"/resources/changelog"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Webhook delivery - Wabox","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":[],"chunks":[]}