cURL
curl --request GET \ --url https://api.openmail.sh/v1/attachments/{messageId}/{filename} \ --header 'Authorization: Bearer <token>'
{ "error": "<string>", "message": "<string>" }
Returns a 302 redirect to a signed URL for the attachment.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Redirect to attachment URL