Skip to main content
GET
Count email conversations

Authorizations

Authorization
string
header
required

An API key from the console, starting ob_live_, sent as Authorization: Bearer <key>.

Query Parameters

folders
string

The folders to count, separated by commas: inbox, sent, unread, favorite, archived, spam, trash. All of them when left out.

Required string length: 1 - 100
mailbox
string

Only these mailboxes: one address, or up to 20 separated by commas.

Required string length: 1 - 6420

Response

How many email conversations each folder asked for holds.

counts
object
required

By folder.