Get a message
GET
/v1/email/messages/{message_id}
curl -X GET "https://us1.platform.bird.com/v1/email/messages/{message_id}" \
-H "Authorization: Bearer $TOKEN"Returns a single email message object with aggregate delivery status and counts. Message body (html, text) is not returned — it is not stored after delivery.
Parametry
message_id
string
Message ID.
Treść odpowiedzi
id
string
wymagane
Message ID.
from
object
wymagane
Sender address. name is present when a display name was provided on the send.
Pokaż atrybuty podrzędne
from.email
string
wymagane
Email address.
from.name
string
Display name shown alongside the address in mail clients.
to
array of object
wymagane
Primary recipients. Length is the recipient count; use the broadcasts endpoint for audience-targeted sends. Each entry's name is present when a display name was provided on the send.
Pokaż atrybuty podrzędne
to.email
string
wymagane
Email address.
to.name
string
Display name shown alongside the address in mail clients.
cc
array of object
CC recipients.
Pokaż atrybuty podrzędne
cc.email
string
wymagane
Email address.
cc.name
string
Display name shown alongside the address in mail clients.
bcc
array of object
BCC recipients.
Pokaż atrybuty podrzędne
bcc.email
string
wymagane
Email address.
bcc.name
string
Display name shown alongside the address in mail clients.
subject
string
wymagane
Message subject line.
category
string
wymagane
Content classification. Controls suppression policy — marketing blocks on all suppression reasons; transactional allows delivery through complaint and unsubscribe suppressions.
reply_to
nullable array
Reply-To addresses, if set on the send. Empty/null when no Reply-To was provided.
status
string
wymagane
Aggregate delivery status derived from recipient states. scheduled means the message is queued to send at a future time and has not been dispatched yet. accepted means Bird has the send and is preparing to deliver. processed means Bird has processed the message and queued it for delivery to the recipient's mail server. canceled means a scheduled message was canceled before it was sent.
accepted_count
integer
wymagane
Number of recipients currently in the accepted state — Bird has the send and is preparing to deliver.
processed_count
integer
wymagane
Number of recipients for whom Bird has processed the message and queued it for delivery.
delivered_count
integer
wymagane
Number of recipients whose messages were accepted by the remote MTA.
bounced_count
integer
wymagane
Number of recipients that resulted in a permanent delivery failure.
complained_count
integer
wymagane
Number of recipients that reported spam.
deferred_count
integer
wymagane
Number of recipients in transient delivery deferral; the provider is retrying.
rejected_count
integer
wymagane
Number of recipients rejected before delivery. See the per-recipient rejection_reason field on GET /v1/email/messages/{message_id}/recipients for the specific cause (suppression match, transmission failure, generation failure, or policy refusal).
processing_latency_ms
nullable integer
Time between Bird accepting the send and the message being processed for delivery, in milliseconds, for the fastest recipient. Null until the first recipient reaches processed.
delivery_latency_ms
nullable integer
Time between the message being processed and the receiving mail server accepting it, in milliseconds, for the fastest delivered recipient. Null until the first recipient is delivered.
total_latency_ms
nullable integer
End-to-end accept → delivered time for the fastest delivered recipient, in milliseconds. Null until the first recipient is delivered.
open_count
integer
wymagane
Total open events across all recipients.
click_count
integer
wymagane
Total click events across all recipients.
tags
array of object
Structured {name, value} filter labels applied to this send. See EmailMessageSendRequest for the tags vs metadata distinction.
Pokaż atrybuty podrzędne
tags.name
string
wymagane
Tag name. ASCII letters, digits, underscore, and hyphen only. Case-sensitive. Maximum 32 characters.
tags.value
string
wymagane
Tag value. ASCII letters, digits, underscore, and hyphen only. Case-sensitive. Maximum 64 characters.
metadata
object
Arbitrary JSON metadata stored on the message object and echoed in webhook payloads. See EmailMessageSendRequest for the tags vs metadata distinction.
attachments
array of object
Attachment metadata for the send. Empty when no attachments were included. Raw content is not echoed; use the future content-retrieval endpoint when storage is enabled.
Pokaż atrybuty podrzędne
attachments.id
string
Attachment ID, stable per email send.
attachments.filename
string
wymagane
Filename as shown to the recipient.
attachments.content_type
string
Resolved MIME type at send time.
attachments.size
integer
wymagane
Decoded size in bytes.
attachments.inline
boolean
True when the attachment was sent inline via a content_id reference in the HTML body, false for regular file attachments.
attachments.content_id
nullable string
The Content-ID set at send time, when the attachment was inline.
track_opens
boolean
wymagane
Whether open tracking is enabled for this send.
track_clicks
boolean
wymagane
Whether click tracking is enabled for this send.
created_at
string
wymagane
When the send request was accepted.
thread_id
nullable string
Thread this message belongs to. Null until threading is enabled.
in_reply_to_message_id
nullable string
The message this one is a reply to, if any.
delivered_at
nullable string
When all recipients reached a terminal delivered state, or null if not yet fully delivered.
scheduled_at
nullable string
When this message is scheduled to send, for a send created with a future send time. Null for an immediate send. Stays set after the scheduled send fires.