WoyraDocs
Get an API key

List the messages in a folder

GET/v1/mailboxes/{id}/messages

Mailboxes · Requires an API key

Newest first. Folders are INBOX, ARCHIVE, SENT, TRASH and SPAM. Rows carry no body. Requires mail:access.

Parameters

NameInDescription
idrequiredpath
folderquery
limitquery
cursorqueryThe next_cursor of the previous page.

Example

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

Response

200 A page of messages.

FieldTypeDescription
object"list"
dataarray of MailMessageSummary
has_moreboolean
next_cursorstring

Errors

StatusCodes
404not_found, product_not_offered

Also in Mailboxes