Documentation
Sign inGet started

List a received email's attachments

GET
/v1/email/inbound-messages/{inbound_message_id}/attachments
curl -X GET "https://us1.platform.bird.com/v1/email/inbound-messages/{inbound_message_id}/attachments" \
  -H "Authorization: Bearer $TOKEN"
Returns metadata for each attachment on a received email. Fetch the raw bytes of an individual attachment with GET /v1/email/inbound-messages/{inbound_message_id}/attachments/{attachment_id}.
响应载荷
data
array of object
必填
Metadata for every attachment on the message. Empty when the message had no attachments.
显示子属性
data.id
string
必填
Attachment ID, stable within the received message.
data.filename
nullable string
必填
Filename from the attachment's Content-Disposition, or null when the sender did not name the part.
data.content_type
nullable string
必填
MIME type parsed from the attachment part, or null when absent.
data.size
integer
必填
Size of the attachment in bytes.