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

Autorizações

Authorization
string
header
obrigatório

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

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.