WoyraDocs
Get an API key

Download an attachment by signed link

GET/v1/mailboxes/{id}/messages/{message_id}/attachments/{attachment_id}

Mailboxes · Public: no credential needed

Follow the url an attachment carries in a message. The link is the credential: scoped to one file, valid for 15 minutes, no API key. An invalid or expired link answers 404; open the message again for a fresh one.

Parameters

NameInDescription
idrequiredpath
message_idrequiredpath
attachment_idrequiredpath
expiresrequiredquery
signaturerequiredquery

Example

curl https://api.woyra.io/v1/mailboxes/email_01J.../messages/<message_id>/attachments/<attachment_id>

Response

200 The file.

Errors

StatusCodes
404not_found, product_not_offered

Also in Mailboxes