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: the attachment_id, declared filename, MIME type, and size. The same manifest is embedded in Get a received email; fetch an individual attachment's bytes with Get a received email's attachment.
Antwort-Payload
data
array of object
erforderlich
Metadata for every attachment on the message. Empty when the message had no attachments.
Untergeordnete Attribute anzeigen
data.id
string
erforderlich
Attachment ID, stable within the received message.
data.filename
nullable string
erforderlich
Filename from the attachment's Content-Disposition, or null when the sender did not name the part.
data.content_type
nullable string
erforderlich
MIME type parsed from the attachment part, or null when absent.
data.size
integer
erforderlich
Size of the attachment in bytes.