Attachments

Get an attachment

Returns metadata for a single attachment, including filename, content type, and size.

GET
/v1/attachments/{id}

Returns metadata for a single attachment, including filename, content type, and size.

x-api-key<token>

In: header

Path Parameters

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

Response Body

application/json

application/json

application/json

application/json

application/json

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