Obter o status atual de uma mensagem
id texto obrigatório
Identificador único da mensagem para verificar o status
curl 'https://pavulla-tech.github.io/v1/messages/{id}/status' --header 'Authorization: YOUR_SECRET_TOKEN'
{
"id": "…",
"sender": "…",
"recipient": "…",
"content": "…",
"status": "…",
"direction": "…",
"scheduled_at": "2025-04-04T09:10:36.518Z",
"sent_at": "2025-04-04T09:10:36.518Z",
"delivered_at": "2025-04-04T09:10:36.518Z",
"created_at": "2025-04-04T09:10:36.518Z",
"updated_at": "2025-04-04T09:10:36.518Z",
"provider": {
"id": "…",
"name": "…",
"connector_id": "…",
"config": {
"ANY_ADDITIONAL_PROPERTY": "…"
},
"pricing": {
"cost": 1,
"markup_type": "…",
"markup_percent": 1,
"markup_amount": 1,
"currency": "…"
},
"created_at": "2025-04-04T09:10:36.518Z",
"updated_at": "2025-04-04T09:10:36.518Z"
},
"failed_at": "2025-04-04T09:10:36.518Z",
"rejected_at": "2025-04-04T09:10:36.518Z"
}