Documentation
Sign inGet started

Get a received email's body

GET
/v1/email/inbound-messages/{inbound_message_id}/body
curl -X GET "https://us1.platform.bird.com/v1/email/inbound-messages/{inbound_message_id}/body" \
  -H "Authorization: Bearer $TOKEN"
Returns the parsed, decoded body of a received email as JSON: the html and text parts, each null when the message had no such part. This is the reading-friendly form; for the exact original bytes (headers, signatures, full MIME structure) use Get a received email's raw content. An unknown or expired message returns 404; a message that exists but has no stored content returns both parts null.
Payload di risposta
html
nullable string
obbligatorio
The HTML body of the message, or null when the message had no HTML part.
text
nullable string
obbligatorio
The plain-text body of the message, or null when the message had no text part.