Cursor pagination
Conversations (newest first) and contacts are returned one page at a time.limitsets the page size, from 1 to 100 (default 50).cursorcontinues from where the previous page stopped.- The response contains
itemsandnext_cursor. Whennext_cursorisnull, there are no more pages.
422 with invalid_cursor. A contact cursor is also tied to its list: use it only for the list that returned it.
Contact pages also return total, the number of contacts that match.
Polling conversations
The conversation list response carries anETag. Send it back in If-None-Match to get 304 Not Modified with no body while nothing changed. Use since (an ISO 8601 date and time) to ask only for conversations changed after that moment. Each conversation has an updated_at you can use to track the latest change.
Offset pagination
Knowledge documents uselimit (1 to 100, default 100) and offset (the number of documents to skip). Request the next page by adding limit to the previous offset; stop when a page returns fewer documents than limit.
No pagination
These operations return every item as a JSON array in one response: voice agents, chat agents, transfer targets, contact lists, contact fields and knowledge entries.Search
Searching is aPOST with the search text in the JSON body, so that it stays out of URLs, browser history and logs that record URLs:
cursor in the body, in the same way as lists. Sending the search text as a q query parameter to a list endpoint is refused with 422 and search_moved_to_post.