Get a received email
GET
/v1/email/inbound-messages/{inbound_message_id}
curl -X GET "https://us1.platform.bird.com/v1/email/inbound-messages/{inbound_message_id}" \
-H "Authorization: Bearer $TOKEN"Returns the parsed metadata for a received email: addresses, subject, threading headers, authentication results, and the attachment manifest. Content is fetched separately: the parsed body with Get a received email's body, the original MIME with Get a received email's raw content, and attachment bytes with Get a received email's attachment. Received emails are retained for 30 days; an unknown or expired message returns 404.
Response Payload
id
string
required
Received message ID.
from
object
required
Sender address parsed from the message.
Show child attributes
from.email
string
required
Email address.
from.name
string
Display name shown alongside the address in mail clients.
to
array of object
required
Recipients on the message's To header.
Show child attributes
to.email
string
required
Email address.
to.name
string
Display name shown alongside the address in mail clients.
cc
array of object
required
Recipients on the message's Cc header.
Show child attributes
cc.email
string
required
Email address.
cc.name
string
Display name shown alongside the address in mail clients.
subject
nullable string
required
Subject line as received, or null when the message had no subject.
message_id
nullable string
required
RFC 5322 Message-ID header from the sender, or null when the sender did not include one.
in_reply_to
nullable string
required
In-Reply-To header — the Message-ID this message replies to, or null when it is not a reply.
references
array of string
References header — the chain of Message-IDs in this conversation, oldest first. Absent when the message had no References header.
thread_id
nullable string
required
Conversation this message belongs to. Always null until threading is available.
authentication
nullable string
required
Whether the sender of the received message was authenticated. pass means the sender's identity was verified; fail means it was checked and did not verify; unknown means no verdict is available and the sender should not be treated as verified.
Possible values: pass, fail, unknown, null
spf_pass
nullable boolean
required
Whether SPF passed for the sender, parsed from the message's authentication results. Null when the result did not carry an SPF verdict.
dkim_pass
nullable boolean
required
Whether DKIM passed for the sender, parsed from the message's authentication results. Null when the result did not carry a DKIM verdict.
dmarc_pass
nullable boolean
required
Whether DMARC passed for the sender, parsed from the message's authentication results. Null when the result did not carry a DMARC verdict.
spam_score
nullable number
required
Spam score for the message. Always null at present; reserved for a future content-scoring capability.
attachments
array of object
required
Metadata for each attachment found on the message. Empty when the message had no attachments.
Show child attributes
attachments.id
string
required
Attachment ID, stable within the received message.
attachments.filename
nullable string
required
Filename from the attachment's Content-Disposition, or null when the sender did not name the part.
attachments.content_type
nullable string
required
MIME type parsed from the attachment part, or null when absent.
attachments.size
integer
required
Size of the attachment in bytes.
received_at
string
required
When Bird received the message.