Pular para o conteúdo

Interativo Waba

SendListWABA

POST/v2/api/external/{apiId}/sendListWABA
Nome Onde Obrigatório Descrição
apiId path sim ID da API externa cadastrada no Z-PRO.

Formato: application/json.

{
"number": "5515998566622",
"header": "Menu Principal",
"body": "Escolha uma opção da lista:",
"footer": "Selecione uma opção",
"button_text": "Ver opções",
"sections": [
{
"title": "Seção 1",
"rows": [
{
"id": "1",
"title": "Opção 1",
"description": "Descrição da opção 1"
},
{
"id": "2",
"title": "Opção 2",
"description": "Descrição da opção 2"
}
]
}
],
"ticketId": 1262
}
Janela do terminal
curl --request POST \
--url 'https://api.seudominio.com.br/v2/api/external/{apiId}/sendListWABA' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"number": "5515998566622",
"header": "Menu Principal",
"body": "Escolha uma opção da lista:",
"footer": "Selecione uma opção",
"button_text": "Ver opções",
"sections": [
{
"title": "Seção 1",
"rows": [
{
"id": "1",
"title": "Opção 1",
"description": "Descrição da opção 1"
},
{
"id": "2",
"title": "Opção 2",
"description": "Descrição da opção 2"
}
]
}
],
"ticketId": 1262
}'
  • 200: Requisição processada com sucesso.
  • 401: Token ausente, inválido ou sem permissão.
  • 400: Parâmetros inválidos ou faltando.