Skip to main content
POST
List channels, DMs and email threads
Slack: your channels and DMs with unread counts, most recently active first; membership all browses public channels you have not joined, and query filters by name. Email: threads, newest first, narrowed by tab or folder. Give account or source; each item’s id is the conversation id other operations take. Returns one page of items. Pass nextCursor back as cursor until it is null. Requires the messages:read scope.

Authorizations

x-api-key
string
header
required

An Avazal API key (avz_…) created in Settings → API keys.

Body

application/json
account
string

A Slack workspace (chws_…) or a mailbox (macc_…), from accounts_list.

Pattern: ^(chws|macc)_
source
enum<string>

Slack chat or email.

Available options:
slack,
gmail
membership
enum<string>
Available options:
joined,
all
query
string
tab
enum<string>
Available options:
all,
needs_reply,
updates,
other
folder
enum<string>
Available options:
drafts,
sent
cursor
string

The nextCursor from the previous page. Omit it for the first page.

Required string length: 1 - 2048
limit
integer

Items per page, 50 by default.

Required range: 1 <= x <= 100

Response

Success

items
object[]
required
nextCursor
string | null
required

Pass this as cursor to get the next page. null on the last page.