Listar campanhas
Changed onEnvelope { content, totalPages, totalElements } (não segue o padrão { data, pagination }). Permissão: READ.
Request
- Base URLhttps://api.ararahq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Página, começando em 0.
Itens por página, de 1 a 100.
- SCHEDULED: agendada, aguardando o horário.
- INGESTING: processando contatos e enfileirando envios.
- AB_TESTING: teste A/B em andamento.
- COMPLETED: todos os contatos processados.
- COMPLETED_WITH_ERRORS: processada, com contatos bloqueados.
- FAILED: falha geral no processamento.
- CANCELED: cancelada.
Filtra por status da campanha.
Headers
Restringe o resultado a uma conta WhatsApp Business (WABA) da organização.
Response
Página de campanhas
Example response
{
"content": [
{
"id": "7b3789fb-4c5d-6789-abcd-ef0123456789",
"name": "Black Friday 2026",
"status": "COMPLETED",
"templateName": "bf_oferta_geral",
"totalMessages": 50000,
"sentCount": 48500,
"deliveredCount": 47200,
"readCount": 38900,
"failedCount": 900,
"totalCost": 19175,
"scheduledAt": null,
"createdAt": "2026-11-27T18:00:00Z"
}
],
"totalPages": 1,
"totalElements": 1
}Changes
- info
api tag
Campanhasadded - info
api tag
campaignsremoved - info
added the non-success response with the status
- info
- breaking
removed the enum value
PAUSEDfrom thequeryrequest parameterstatus - breaking
removed the enum value
PENDINGfrom thequeryrequest parameterstatus - breaking
removed the enum value
RUNNINGfrom thequeryrequest parameterstatus - 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
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 new optional
headerrequest parameterX-Waba-Id - info
added the new enum value
AB_TESTINGto thequeryrequest parameterstatus - info
added the new enum value
COMPLETED_WITH_ERRORSto thequeryrequest parameterstatus - info
added the new enum value
INGESTINGto thequeryrequest parameterstatus - info
added the new enum value
SCHEDULEDto thequeryrequest parameterstatus - 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 required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking