Get Message Report Logs
Messages
Get Message Report Logs
Returns paginated delivery logs
GET
Get Message Report Logs
Description
This endpoint returns paginated delivery logs. 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 of the date range in RFC3339 format (
YYYY-MM-DDTHH:mm:ssZ). Required. Sample: 2024-01-01T00:00:00Z.string
required
End of the date range in RFC3339 format (
YYYY-MM-DDTHH:mm:ssZ). Required. Sample: 2024-01-31T00:00:00Z.string
required
Channel to query. Required. Possible values:
sms, whatsapp, rcs, email, push. Sample: whatsapp.integer
default:"1"
Page number to return. Default is
1. Sample: 1.integer
default:"50"
Number of items to return per page. Default is
50. Sample: 50.string
Optional delivery status filter. If omitted, logs for all statuses are returned. Sample:
delivered.string
Optional delivery type filter. If omitted, logs for all types are returned. Possible values:
campaign, api, flow, inbox, otpflow. Sample: campaign.string
Optional recipient search term (phone or email). If omitted, no search filter is applied. Sample:
+1555.Response
boolean
Indicates whether the API call was successful.
string
Success or error message from the API.
array
An array of message 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.