Endpoint
Campos comuns
Limite: 20 solicitações por minuto para cada combinação de chave de API e
fromPhoneNumber.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Envie botões de resposta ou uma lista dentro dos limites permitidos.
POST /broadcast/public/send-freeform
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
fromPhoneNumber | corda | Obrigatório | Seu número WABA |
toPhoneNumber | corda | Obrigatório | Destinatário com código do país, apenas dígitos |
type | corda | Obrigatório | Um dos oito tipos abaixo |
fromPhoneNumber.
{
"fromPhoneNumber": "14844634680",
"toPhoneNumber": "919675360316",
"type": "interactive",
"interactive": {
"type": "button",
"header": { "type": "text", "text": "Renew your plan" },
"body": { "text": "Your subscription ends in 3 days. Renew now?" },
"footer": { "text": "Reply STOP to opt out" },
"action": {
"buttons": [
{ "type": "reply", "reply": { "id": "renew_yes", "title": "Renew now" } },
{ "type": "reply", "reply": { "id": "renew_later", "title": "Remind me later" } }
]
}
}
}
{
"fromPhoneNumber": "14844634680",
"toPhoneNumber": "919675360316",
"type": "interactive",
"interactive": {
"type": "list",
"header": { "type": "text", "text": "Pick a plan" },
"body": { "text": "Choose the plan that fits your team." },
"action": {
"button": "View plans",
"sections": [
{
"title": "Monthly",
"rows": [
{ "id": "starter_m", "title": "Starter", "description": "3 seats included" },
{ "id": "growth_m", "title": "Growth", "description": "10 seats included" }
]
}
]
}
}
}
{
"status": true,
"status_code": 200,
"message": "Free-form message queued successfully",
"data": {}
}
| Status | Causa | O que verificar |
|---|---|---|
400 | Um campo comum ou específico é inválido | Confira os campos obrigatórios desta página |
400 | A URL ou extensão da mídia não é compatível | Use http ou https e uma extensão aceita |
400 | Coordenadas, botões ou linhas excedem os limites | Corrija os limites do payload |
401 | A chave ou remetente não pertence à organização | Use um remetente retornado pela mesma chave |
429 | O limite de 20 solicitações foi excedido | Aguarde o intervalo informado na resposta |
500 ou 503 | Falha transitória do serviço | Tente novamente com espera exponencial |
Esta página foi útil?