Skip to main content
GET
Get Campaign Reports Summary

Description

This endpoint returns aggregated campaign metrics grouped by date. You must provide a date range and channel. Results are cached for 5 minutes for the same workspace and query.

Headers

string
required
Your API key for authentication.
string
required
Your workspace ID for authentication.

Query Parameters

string
required
Start date in RFC3339 format.
string
required
End date in RFC3339 format.
string
required
Channel filter. Possible values: sms, whatsapp, rcs, email, push.
string
Delivery type. Possible values: campaign, api, flow.

Response

boolean
Indicates whether the API call was successful.
string
Success or error message from the API.
array
An array of date summary objects, each containing:
string
The date for this summary row.
integer
Audience size for the date.
integer
Number of messages submitted.
integer
Number of messages sent.
integer
Number of messages delivered.
integer
Number of undelivered messages.
integer
Number of failed messages.
integer
Number of messages marked as read.
integer
Number of emails opened.
integer
Number of clicks.
integer
Number of bounced emails.
integer
Number of spam complaints.
integer
Number of unsubscribes.
integer
Number of SMS messages submitted.
integer
Number of SMS messages sent.
integer
Number of SMS messages delivered.
integer
Number of SMS messages undelivered.
number
Total cost for the date.