Documentation
Sign inGet started

Get a thread message's attachment

GET
/v1/email/threads/{thread_id}/messages/{message_id}/attachments/{attachment_id}
curl -X GET "https://us1.platform.bird.com/v1/email/threads/{thread_id}/messages/{message_id}/attachments/{attachment_id}" \
  -H "Authorization: Bearer $TOKEN"
Returns the raw bytes of a single attachment on a received message (rem_) in a conversation. Attachment bytes are downloadable for 30 days after the message occurred; after that this endpoint returns 410 Gone. Individual attachment bytes on sent messages (em_) are not retrievable — this endpoint returns 404 Not Found for them.