Skip to main content
GET
Count conversations by folder

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Query Parameters

channel
enum<string>
required

email: the counts are the email inbox's, one per folder. On LinkedIn, the unread count is the pagination.total of GET /business/conversations?channel=linkedin&folder=unread&limit=1.

Available options:
email
folders
string

The email folders to count, separated by commas, as GET /business/conversations names them: inbox, sent, unread, favorite, archived, spam, trash. Omit it to count every folder.

Maximum string length: 100
mailbox
string

Only the conversations of these mailboxes: one address, or up to 20 separated by commas, each one you own or that is shared with you with inbox access. Omit it to count every connected mailbox you can read.

Maximum string length: 6420

Response

Success

channel
enum<string>
required
Available options:
email
counts
object
required

One count per folder asked for, under the folder's name: the conversations in it, as the app's inbox tab badges count them.