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. Fetch the body with /body and attachment bytes with /attachments/{attachment_id}.
Response Payload
id
string
आवश्यक
Received message ID.
from
object
आवश्यक
Sender address parsed from the message.
चाइल्ड एट्रिब्यूट दिखाएँ
from.email
string
आवश्यक
Email address.
from.name
string
Display name shown alongside the address in mail clients.
to
array of object
आवश्यक
Recipients on the message's To header.
चाइल्ड एट्रिब्यूट दिखाएँ
to.email
string
आवश्यक
Email address.
to.name
string
Display name shown alongside the address in mail clients.
cc
array of object
आवश्यक
Recipients on the message's Cc header.
चाइल्ड एट्रिब्यूट दिखाएँ
cc.email
string
आवश्यक
Email address.
cc.name
string
Display name shown alongside the address in mail clients.
subject
nullable string
आवश्यक
Subject line as received, or null when the message had no subject.
message_id
nullable string
आवश्यक
RFC 5322 Message-ID header from the sender, or null when the sender did not include one.
in_reply_to
nullable string
आवश्यक
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
आवश्यक
Conversation this message belongs to. Always null until threading is available.
spf_pass
nullable boolean
आवश्यक
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
आवश्यक
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
आवश्यक
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
आवश्यक
Spam score for the message. Always null at present; reserved for a future content-scoring capability.
attachments
array of object
आवश्यक
Metadata for each attachment found on the message. Empty when the message had no attachments.
चाइल्ड एट्रिब्यूट दिखाएँ
attachments.id
string
आवश्यक
Attachment ID, stable within the received message.
attachments.filename
nullable string
आवश्यक
Filename from the attachment's Content-Disposition, or null when the sender did not name the part.
attachments.content_type
nullable string
आवश्यक
MIME type parsed from the attachment part, or null when absent.
attachments.size
integer
आवश्यक
Size of the attachment in bytes.
received_at
string
आवश्यक
When Bird received the message.