Email & PEC

Unread and per-view counts

The badges a mail client shows in its rail, in one call: unread inbox mail, starred, trash, plus draft and failed-send counts, broken down by label and by mailbox. Cheaper than paging through email_search just to read a total.

Examples

  • How much unread mail is there? GET /api/v1/rest/email/counts
get/api/v1/rest/email/counts

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/email/counts
  • Auth: HTTP bearer

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

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