Mailboxes
List threads
GET
cURL
Lists conversations, newest first. Page through them by passing the
next_cursor from one response as cursor on the next request; next_cursor is null on the last page. A conversation that arrives while you page lands on the first page and never shifts the pages after it.
Needs an API key with full access. A mailbox outside the key’s team or domain returns
404.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Required string length:
1 - 64Pattern:
^[A-Za-z0-9_-]+$Available options:
inbox, sent, drafts, spam, archive, trash Required string length:
1 - 2001 to 50, default 20; larger values are clamped
Pattern:
^\d{1,6}$