Skip to main content
GET
List conversations

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

user[email]
string<email>
required

Email of the company admin to act as.

templates
string

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
integer
default:1

Page number for each paginated template.

Required range: x >= 1
per_page
integer
default:5

Conversations per page for each paginated template.

Required range: x >= 1

Only 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.

announcement_channel
object | null

The company's announcement channel, when announcement_channel is requested.

my_downline
object | null

The acting admin's downline conversation, when my_downline is requested.

{key}
tuple

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.