Emails

Count unread emails

Number of unread emails, optionally narrowed to specific mailboxes or a campaign. Emails outside a conversation have no read state and are not counted.

Requires one of the following scopes: emails:read, emails:all, all:read, all:all.

get/v1/emails/unread/count

Request

  • Base URL: https://api.mailbeast.ai
  • URL: https://api.mailbeast.ai/v1/emails/unread/count
  • Auth: HTTP bearer

Query parameters

mailboxstring
Example:jane@acme.com

Limit the count to these mailbox addresses, comma-separated.

campaignIdstring
Example:c1f3b0a2-6d4e-4f8b-9a1c-2e5d7f0a3b6c

Response

countnumber required

Number of unread emails matching the filters.

Example response

{
  "count": 12
}

Changes

No recorded changes to this operation across all 1 revision of this API.