Skip to main content
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. Rate limited to 10 requests per second per workspace and filter, and 100 requests per 10 seconds per IP. Early Truecaller failures (bad recipient, unknown bot) still produce a log. sender, sender_type, and message_type are empty on those rows because the bot was never loaded. bot_id is the id that was sent.

Headers

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

Query Parameters

string
required
Start of the date range. RFC3339 with Z or an offset (2026-11-01T00:00:00+05:30), or YYYY-MM-DD. Required. Sample: 2024-01-01T00:00:00Z.
string
required
End of the date range. Same formats as start_date. Required. Sample: 2024-01-31T00:00:00Z.
string
required
Channel to query. Required. Possible values: sms, whatsapp, rcs, email, push, truecaller. Sample: truecaller.
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. Lowercase status names from the delivery report: submitted, queue, sent, delivered, read, failed, clicked, opened, unsubscribed, bounced, complained, spam, blocked. 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.
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. For Truecaller the first letter is uppercase: Sent, Delivered, Failed, Read, and the other statuses.
string
RFC3339 timestamp when the message was sent. Omitted when unset.
string
RFC3339 timestamp when the message was delivered. Omitted when unset. For Truecaller, statuses other than submitted, queue, and sent fall back to sent_at when there is no delivered time.
number
Cost of the message. Present for Truecaller.
number
Refunded amount. For Truecaller, present when the refund amount is greater than 0.
integer
Number of message parts (for example, SMS segments).
string
Failure reason when the message was not delivered. For Truecaller, present when status is Failed: the delivery message, otherwise the vendor message.
string
Additional remarks about the delivery.
string
Platform used to send the message.
string
Sender or account phone number, when applicable.
string
RCS or Truecaller bot ID, when applicable.
string
Truecaller bot phone number or sender id. Empty on early failures, before the bot is loaded.
string
phone_number or sender_id for Truecaller. Empty on early failures.
string
Truecaller message type: TEXT, IMAGE, VIDEO, or DOCUMENT. Empty on early failures.
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. The Truecaller send path records an empty list at queue time, so this is often [].
object
Associated people record, when available.
string
The people record ID.
string
The people record name.
object
Pagination information containing:
integer
Page count.
integer
Estimate of matching rows. The query looks one page ahead.
integer
The page size used for this request. The query parameter is page_size. The response field is pageSize.