Get stored message content
GET
/v1/email/messages/{message_id}/content
bird email content <message-id>curl -X GET "https://us1.platform.bird.com/v1/email/messages/{message_id}/content" \
-H "Authorization: Bearer $TOKEN"Returns the stored HTML and text bodies for a sent message. Content storage must be enabled for the message. Content is available for up to 30 days after sending. A broadcast stores no body, so a copy the send has recorded always answers 404, whatever the workspace has configured. A 404 indicates no content was stored for this message. A 425 indicates the content is still being stored and the request can be retried shortly. A 410 indicates the content was stored but has since expired.
Parámetros
message_id
string
ID of the message whose stored content to fetch. A broadcast records one message per recipient, and List email messages returns those copies alongside ordinary sends. For a single send, this is the message's own ID, from the send response's id field.
Carga de respuesta
html
string
The HTML body of the message as delivered, if it was stored.
text
string
The plain-text body of the message as delivered, if it was stored.
Recursos relacionados
Continúa con la documentación, guías y ejemplos sobre este tema. Los recursos están en inglés.
Ver la guíaGetting started with emailExplorar la funcionalidadEmailSeguir la ruta de aprendizajeBuild your first integrationGuía de implementaciónSend your first email
Prueba el ejercicio y obtén un resumen de implementación