Skip to main content

API: Campaign Mail Statistics

Stefan Schindler avatar
Written by Stefan Schindler
Updated over a year ago

With an authenticated user it is possible to load statistics of one or all campaign mails.

All Mails

GET <cambuildr-url>/api/v1/campaign_mails

The campaign mails are returned paginated. Page size and page number can be defined with the query parameters page_nr and page_size.

Response

{
"error": false,
"campaign_mails": [
{
"id": 333,
"name": "New Link Test",
"state": "SENT",
"started_at": "<date>",
"ended_at": "<date>",
"total_recipients": 2,
"sent": 2,
"opened": 2,
"clicked": 2,
"bounced": 0
},
...
],
"total_count": 40
}

Single Mail

GET <cambuildr-url>/api/v1/campaign_mails/<campaign-mail-id>
Did this answer your question?