List all conversations with optional filtering.
Authentication
X-API-Keystring
API Key authentication. Generate your API key in the Gail Portal under General > Integrations > API Keys.
Query parameters
search
Optional search term to filter conversations.
type
Optional conversation type filter (e.g., Call, SMS).
Allowed values:
userId
Optional user ID to filter conversations by user.
includeArchived
When true, includes archived conversations in results.
after
A GUID cursor to fetch items strictly after this ID.
before
A GUID cursor to fetch items strictly before this ID.
limit
Maximum number of items to retrieve (default 50).
pageDeprecated
The page number (1-based).
sizeDeprecated
Number of items per page (default 50).
Response
OK
data
total
page
size
pages
Errors
400
Bad Request Error
404
Not Found Error