Attachments
Get an attachment
Returns metadata for a single attachment, including filename, content type, and size.
Returns metadata for a single attachment, including filename, content type, and size.
Authorization
apiKey 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
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"}Related documentation
Get an attachment download URL
Generates a presigned, time-limited download URL for the attachment; expiry is configurable via the expiresIn query parameter.
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.