Consultar campanha
Changed onCampanha com as métricas agregadas. clickedCount e convertedCount dependem de Smart Links. Para acompanhar mensagem a mensagem, use o webhook message.status_updated; o fim da campanha gera o evento campaign.completed. Permissão: READ.
Request
- Base URLhttps://api.ararahq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID da campanha.
Response
Detalhe
Example response
{
"id": "7b3789fb-4c5d-6789-abcd-ef0123456789",
"name": "Black Friday 2026",
"status": "COMPLETED_WITH_ERRORS",
"templateName": "bf_oferta_geral",
"templateBody": "Oi {{1}}, oferta de {{2}}% só hoje!",
"totalMessages": 50000,
"sentCount": 48500,
"deliveredCount": 47200,
"readCount": 38900,
"failedCount": 900,
"clickedCount": 4120,
"convertedCount": 312,
"convertedValue": 87650,
"replyCount": 1840,
"holdoutCount": 0,
"blockedCount": 600,
"blockReasons": [
{
"motivo": "Contato pediu para não receber",
"quantidade": 600
}
],
"refundCount": 1500,
"refundValue": 575.25,
"totalCost": 19175,
"scheduledAt": null,
"startedAt": "2026-11-27T18:00:12Z",
"finishedAt": "2026-11-27T18:23:14Z",
"createdAt": "2026-11-27T18:00:00Z"
}Changes
- info
api tag
Campanhasadded - info
api tag
campaignsremoved - info
added the non-success response with the status
- info
- breaking
the response property
/became nullable for the status - breaking
the response property
became optional for the status - breaking
the
response's property format changed fromfloatto no format for status - breaking
the
response's property type changed fromobjecttostringfor status - breaking
the
response's property format changed fromfloatto no format for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- breaking