List conversations
List a company admin’s conversations, grouped by inbox template, as that admin sees them.
The request acts as the company admin whose email you pass in user[email]. It requires a Bearer token for a company admin (for example a company API token) whose role includes the messaging view permission. If user[email] does not match an admin of the company, the request returns 403.
The response has one key per requested template. Each template’s value is a two-item array: a pagination object, then an object holding that template’s items. page and per_page apply to every template. new_messages is never paginated and returns every match on one page.
Authorizations
Bearer token authentication
Query Parameters
Email of the company admin to act as.
Comma-separated inbox templates to return. Unknown names are ignored, and with no templates the response is an empty object. Available templates: new_messages, pinned, team_groups, downline, team_directs, teams, teams_unread, teams_read, channels, channels_unread, channels_read, sms, sms_read, sms_unread, email, email_read, email_unread, customers, customers_unread, customers_read, archived_sms, archived_email, archived_directs, archived_groups, archived_teams, archived_channels, archived_customers, and bots. Add announcement_channel or my_downline to also return the company's announcement channel or the admin's downline conversation as a single object.
Page number for each paginated template.
x >= 1Conversations per page for each paginated template.
x >= 1Only conversations whose name or participant names, emails, or phone numbers match this text.
Response
The requested templates, each with a page of conversations.
Conversations keyed by the requested inbox template.
The company's announcement channel, when announcement_channel is requested.
The acting admin's downline conversation, when my_downline is requested.
One inbox template's page of conversations, as a two-item array. The first item holds the pagination details and the second holds the conversations.