Sign inGet Started

List a received email's attachments

GET
/v1/email/inbound-messages/{inbound_message_id}/attachments
bird email inbound-messages attachments <inbound-message-id>
Odpowiedź200
{
  "data": [
    {
      "id": "rea_01krdgeqcxet5s7t44vh8rt9mg",
      "filename": "invoice.pdf",
      "content_type": "application/pdf",
      "size": 215432
    }
  ]
}

Returns metadata for each attachment on a received email:

  • The attachment_id.
  • The declared filename.
  • The MIME type.
  • The size.

The same manifest is embedded in Get a received email. Fetch an individual attachment's bytes with Get a received email's attachment.

Parametry

inbound_message_idstring

Received email identifier. Starts with rem_.

Treść odpowiedzi

data
array of object
wymagane

Metadata for every attachment on the message. Empty when the message had no attachments.

Pokaż atrybuty podrzędne

Przejdź do dokumentacji, przewodników i przykładów dotyczących tego tematu.