WoyraDocs
Get an API key

Several messages at once

GET/v1/mail/sync/messages

Mailboxes · Requires an API key

Parameters

NameInDescription
mailboxqueryThe token's own mailbox. Any other address is refused with 403.
idsrequiredqueryComma-separated message ids, at most 100.

Example

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

Response

200 The messages that exist, and the ids that do not.

FieldTypeDescription
datarequiredarray of MailAppMessage
missingrequiredarray of string

Errors

StatusCodes
400invalid_request, unsupported_version
401authentication_required, invalid_api_key

Also in Mailboxes