List message attachments
List the stored file attachments for an email message and get a short-lived signed downloadUrl for each. Works for both inbound emails (received via message.inbound) and outbound emails you sent with attachments. Messages without stored attachments (including SMS, WhatsApp, and other channels) return an empty list. Each downloadUrl is generated fresh per request and expires — fetch the file promptly and do not cache the URL.
get/v1/messages/{messageId}/attachments
Path parameters
messageIdstring required
Response
List of attachments.
Example response
{
"items": [
{
"id": "jd7x2k3m4n5p6q7r8s9t0",
"filename": "invoice.pdf",
"mimeType": "application/pdf",
"size": 102400,
"contentId": "logo"
}
]
}