---
title: "Get a received email's body"
method: GET
path: "/v1/email/inbound-messages/{inbound_message_id}/body"
tags: ["email-inbound-messages"]
---

# Get a received email's body

`GET /v1/email/inbound-messages/{inbound_message_id}/body`

## Request

- Base URL: `https://us1.platform.bird.com`
- URL: `https://us1.platform.bird.com/v1/email/inbound-messages/{inbound_message_id}/body`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `bird_session`

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](/docs/api/reference/get-inbound-message-raw). An unknown or expired message returns `404`. A message that exists but has no stored content returns both parts `null`.

## Headers

- `X-Workspace-Id` string
- `X-Organization-Id` string

## Response `200`

Parsed message body.

- InboundEmailMessageBody: The parsed body of a received email.
  - `html` string, nullable, required: The HTML body of the message, or `null` when the message had no HTML part.
  - `text` string, nullable, required: The plain-text body of the message, or `null` when the message had no text part.

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Insufficient permissions
- `404`: Resource not found
- `422`: The request has invalid field values, violates a business rule, or carries a query parameter the endpoint does not declare. Field validation errors use `type: validation_error` and include the affected fields in `details`. Business-rule errors identify the failed rule in `type`.
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/messagebird/apis/bird-api.md) · [All operations](https://skmtc.dev/messagebird/apis/bird-api/llms.txt) · [OpenAPI document](https://skmtc.dev/messagebird/apis/bird-api/revisions/3e2a50466454?raw)
