Search by Agent (cursor paged)
Returns communication timeline entries for the caller (or the caller’s team when teamView=true, requiring ACCESS_ALL_TEAM_LEADS permission) within a time range.
- The time window (endTime - startTime) may span up to 90 days in a single query.
- type accepts CALL, TEXT, EMAIL, or ALL to fetch all three together in one request.
- limit controls the page size and must be between 1 and 1000 (default 100).
- Cursor pagination: the response returns a nextCursor token; pass it back as the ‘cursor’ parameter to fetch the next page. Keep paging while nextCursor is non-null and stop when it is null. Because a full page cannot tell whether more entries exist, the last page may come back with an empty data array and nextCursor=null - treat that as end-of-data, not an error. This is the recommended way to sync large or historical ranges.
Headers
Bearer [access_token]
Query Parameters
Communication type to query: CALL, TEXT, EMAIL or ALL.
CALL, TEXT, EMAIL, ALL Start timestamp (epoch milliseconds), inclusive.
End timestamp (epoch milliseconds), inclusive. The interval (endTime - startTime) cannot exceed 90 days.
Number of entries per page.
1 <= x <= 1000Opaque pagination token returned as nextCursor by the previous page. Omit for the first page.
Search the team leads' communications. Requires ACCESS_ALL_TEAM_LEADS permission. Default false.
Response
Cursor-paged communication entries.
Communication entries for this page.
Opaque cursor for the next page. Pass it back as the 'cursor' parameter. Null when there are no more pages. A non-null value does not guarantee further entries: the next request may return an empty data array with nextCursor=null, which marks the end.
Whether more pages are available.
true
Page size used for this query.
100
Total number of matching entries for the whole query.
1234