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.
Paramètres
inbound_message_id
string
Received email identifier. Starts with rem_.
Contenu de la réponse
html
nullable string
obligatoire
The HTML body of the message, or null when the message had no HTML part.
text
nullable string
obligatoire
The plain-text body of the message, or null when the message had no text part.
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet. Les ressources sont en anglais.
Regarder le guideGetting started with emailExplorer la fonctionnalitéEmailSuivre le parcours d'apprentissageBuild your first integrationGuide d'implémentationSend your first email
Essayez la pratique et obtenez un guide d'implémentation