Attachments
Attachments
Section titled “Attachments”Attachments belong to a message. Use these endpoints only for files you expect in a controlled test or workflow.
List attachments
Section titled “List attachments”GET /api/v1/mailboxes/{mailbox_id}/messages/{message_id}/attachmentsList attachments stored with a message.
curl https://tempmailhush.com/api/v1/mailboxes/{mailbox_id}/messages/{message_id}/attachments \ -H "X-API-Key: sk-your_api_key"Get attachment
Section titled “Get attachment”GET /api/v1/mailboxes/{mailbox_id}/messages/{message_id}/attachments/{attachment_id}Download one attachment from a message.
curl https://tempmailhush.com/api/v1/mailboxes/{mailbox_id}/messages/{message_id}/attachments/{attachment_id} \ -H "X-API-Key: sk-your_api_key"