Get a received email's body
GET
/v1/email/inbound-messages/{inbound_message_id}/body
bird email inbound-messages body <inbound-message-id>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.
Parameters
inbound_message_id
string
Received email identifier. Starts with rem_.
Response Payload
html
nullable string
verplicht
The HTML body of the message, or null when the message had no HTML part.
text
nullable string
verplicht
The plain-text body of the message, or null when the message had no text part.
Gerelateerde bronnen
Ga verder met de documentatie, gidsen en voorbeelden voor dit onderwerp. De bronnen zijn in het Engels.
Bekijk de gidsGetting started with emailOntdek de mogelijkheidEmailVolg het leerpadBuild your first integrationImplementatiegidsSend your first email
Probeer de oefening en ontvang een implementatieoverzicht