Get campaign report
Delivery and engagement numbers of one sent campaign.
GET https://cotlet.dev/api/v1/mailjet/campaigns/{campaign_id}/report
read
Returns what the Overview tab of the campaign statistics shows: send date, subject, list, segment and sender, then delivered, opened, clicked, unsubscribed, marked as spam, blocked, soft-bounced and hard-bounced counts. A campaign still collecting opens returns the numbers so far. A draft has no report and returns an error.
Parameters
| Name | Type | Description |
|---|---|---|
| campaign_id integer required | integer | Campaign ID from list_campaigns. |
Request
curl https://cotlet.dev/api/v1/mailjet/campaigns/1/report \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("mailjet", "get_campaign_report", {"campaign_id":1}) const result = await cotlet.call('mailjet', 'get_campaign_report', {"campaign_id":1}); cotlet call mailjet get_campaign_report --data '{"campaign_id":1}' Example response
{
"campaign_id": 7164820931,
"name": "Autumn offer",
"subject": "Autumn offer: 20% off your next loaf",
"sent_at": "2026-10-14T08:00:00+01:00",
"list": "Newsletter",
"segment": null,
"sender": "Northside Bakery <hello@northside.example>",
"delivered": 1840,
"opened": 702,
"clicked": 96,
"unsubscribed": 9,
"marked_as_spam": 1,
"blocked": 6,
"soft_bounced": 4,
"hard_bounced": 2
}