Mensagens
Listar mensagens de um lote
Changed onDevolve as mensagens criadas por POST /v1/messages/batch, no mesmo formato do envio. batchId é obrigatório. Para o histórico completo da organização, use GET /dashboard/messages. Permissão: READ.
get/v1/messages
Request
- Base URLhttps://api.ararahq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
batchIdstring required
O batchId devolvido por POST /v1/messages/batch.
Response
Mensagens do lote
Example response
[
{
"id": "ara_msg_k9Bf2Xq",
"status": "PENDING",
"mode": "LIVE",
"sender": "whatsapp:+5511888888888",
"receiver": "whatsapp:+5511999999999",
"body": "Oi João, seu pedido 12345 foi confirmado!",
"cost": 0.068,
"reason": null
}
]Changes
- info
api tag
Mensagensadded - info
api tag
messagesremoved - info
added the non-success response with the status
- info
- info
endpoint added
- info