Skip to main content
GET
Get Campaign Report Logs

Description

This endpoint returns paginated delivery logs for campaigns and other delivery types. You must provide a date range and channel. Results are cached for 5 seconds 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.
integer
Page number.
integer
Number of items to return per page.
string
Delivery status filter.
string
Delivery type. Possible values: campaign, api, flow, inbox, otpflow.
Recipient search term.

Response

boolean
Indicates whether the API call was successful.
string
Success or error message from the API.
array
An array of campaign report log objects, each containing:
string
The recipient address (phone number or email).
string
The delivery status of the message.
string
Timestamp when the message was sent.
string
Timestamp when the message was delivered.
number
Cost of the message.
number
Refunded amount, if any.
string
Message content.
integer
Number of message parts (for example, SMS segments).
string
Failure reason when the message was not delivered.
string
Additional remarks about the delivery.
string
Platform used to send the message.
string
Sender or account phone number, when applicable.
string
RCS bot ID, when applicable.
string
SMS sender ID, when applicable.
string
SMS route, when applicable.
string
From email address, when applicable.
string
From display name, when applicable.
string
Email subject, when applicable.
array
Button labels associated with the message, when applicable.
object
Associated people record, when available.
string
The people record ID.
string
The people record name.
object
Pagination information containing:
integer
The total number of logs available.
integer
The number of logs returned in this response.
integer
The page size used for this request.