WoyraDocs
Get an API key

How many messages in INBOX are unread

GET/v1/mail/unread

Mailboxes · Requires an API key

Counting stops at 999, and atLeast then says so.

Parameters

NameInDescription
mailboxqueryThe token's own mailbox. Any other address is refused with 403.

Example

curl https://api.woyra.io/v1/mail/unread \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 The count.

FieldTypeDescription
countrequiredinteger
atLeastrequiredboolean

Errors

StatusCodes
401authentication_required, invalid_api_key

Also in Mailboxes