Skip to main content
GET
Get inbox counts

Authorizations

The full Cookie header copied from a signed-in connie.ai browser request. See the Authentication page.

Query Parameters

workspaceId
string<uuid>
required

Your workspace ID. Also accepted as workspace_id, the x-workspace-id header, or workspaceId in a JSON body. If you leave it out, the request silently runs against the first workspace you joined.

accountIds
string

Comma-separated account IDs to count.

metric
enum<string>

Set to unread to compute only totalUnread; the other counts come back as 0.

Available options:
unread

Response

Counts.

totalAll
integer
totalUnread
integer
totalSpam
integer
totalArchive
integer
totalStarred
integer
totalSent
integer
totalConversations
integer
totalTrash
integer
totalDrafts
integer
totalScheduled
integer