READ, DELIVERED, FAILED) and paginate through large audiences using cursor-based pagination.
Endpoint
Authentication
Path Parameters
string
required
Your Convo project ID.
string
required
The unique ID of the campaign whose audience you want to retrieve.
Query Parameters
string
Number of results to return per page. Defaults to
20. Maximum is 1000.string
Sort order for results. Accepts
"asc" (ascending) or "desc" (descending). Defaults to "asc".string
Cursor for fetching the next page of results. Use the value from
response.paging.cursors.after.string
Cursor for fetching the previous page of results. Use the value from
response.paging.cursors.before.string
Filter recipients by their message delivery status. Accepted values:
SENT— Message was sentDELIVERED— Message was delivered to the deviceREAD— Message was opened by the recipientFAILED— Message failed to deliverREPLIED— Recipient replied to the campaignCLICKED— Recipient clicked a button or link in the message
string
Comma-separated list of field names to include in the response. Omit to return all fields.
string
ISO 8601 date-time string. Filters audience records updated on or after this date.
string
ISO 8601 date-time string. Filters audience records updated on or before this date.
Request Example
Fetch the first 100 recipients who have read the campaign message:Response
integer
The total number of recipients matching the query (across all pages).
array
Array of recipient objects. Each object contains:
object
Pagination metadata for navigating through large result sets.
Example Response
Cursor Pagination
This endpoint uses cursor-based pagination to efficiently iterate through large audiences.- Make an initial request without
afterorbeforeto get the first page. - If there are more results, the response includes a
paging.cursors.aftervalue. - Pass that value as the
afterquery parameter in your next request to retrieve the following page. - Repeat until
paging.cursors.afteris no longer present in the response, indicating you have reached the last page.
before to navigate backwards through pages.