Documentation
Sign inGet started

List a thread message's attachments

GET
/v1/email/threads/{thread_id}/messages/{message_id}/attachments
curl -X GET "https://us1.platform.bird.com/v1/email/threads/{thread_id}/messages/{message_id}/attachments" \
  -H "Authorization: Bearer $TOKEN"
Returns the attachments on a message in a conversation. Attachment bytes are downloadable for 30 days after the message occurred; after that this endpoint returns 410 Gone while the attachment metadata remains readable on the message's attachment_manifest.
Antwort-Payload
data
array of object
erforderlich
Untergeordnete Attribute anzeigen
data.id
string
erforderlich
Attachment ID, used to download the attachment bytes.
data.filename
nullable string
erforderlich
Original filename, or null when the attachment had none.
data.content_type
nullable string
erforderlich
MIME content type, or null when it could not be determined.
data.size
integer
erforderlich
Attachment size in bytes.