Attachments

List message attachments

Returns every attachment of the given message, newest first. A message's attachments all ride that one email, so the list is never paged.

GET
/v1/attachments

Returns every attachment of the given message, newest first. A message's attachments all ride that one email, so the list is never paged.

x-api-key<token>

In: header

Query Parameters

messageId*string
Match^msg_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/attachments?messageId=string"
{  "items": [    {      "id": "string",      "messageId": "string",      "organizationId": "string",      "filename": "string",      "contentType": "string",      "size": 0,      "contentId": "string",      "isInline": true,      "createdAt": "string"    }  ]}

Related documentation