Pular para o conteúdo principal
POST
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parâmetros de caminho

id
string
obrigatório

The agent ID.

Corpo

application/json
app_id
string
obrigatório
Maximum string length: 64
Pattern: ^[0-9]+$

Resposta

Valores de configuração do webhook do aplicativo WhatsApp.

object
enum<string>
obrigatório
Opções disponíveis:
agent.connector.whatsapp_webhook_setup
app_id
string
obrigatório
Pattern: ^[0-9]+$
callback_url
string<uri>
obrigatório
verify_token
string
obrigatório

Valor de verificação estável para o formulário de Webhooks no nível do aplicativo da Meta. Isso não é um token de acesso da API da Meta.