# Messages

Search, inspect, and download retained messages and attachments.

[Download the OpenAPI specification](/openapi.json).

## Operations

- [Download a retained attachment](/docs/api/generated/get-api-messages-id-attachments-attachment-id.md)
- [Preview message body](/docs/api/generated/get-api-messages-id-preview.md)
- [Download raw MIME](/docs/api/generated/get-api-messages-id-raw.md)
- [Inspect received message](/docs/api/generated/get-api-messages-id.md)
- [Search received messages](/docs/api/generated/get-api-messages.md)
