Preview message body
GET/api/messages/:id/preview
x-audience: "management"
x-required-scope: "messages:read"
Returns a sanitized text or HTML preview of a retained message. Access follows the account's current retention policy.
Request
Responses
- 200
- 401
- 403
- 404
- 413
- 429
- 503
Success
Missing, invalid or revoked credentials.
Required scope or account access missing.
Content/body not available (may be empty).
Body exceeds 2 MiB preview limit.
Shared client-IP or account request allowance exhausted. Retry after the indicated number of seconds. Browser authentication errors can use a different response format.
Response Headers
Cache-Control
no-store
Retry-After
Seconds to wait before retrying.
Storage unavailable. Shared request limiting can also return 503 rate_limit_unavailable with Cache-Control: no-store.
Response Headers
Cache-Control
Request limiter responses use no-store.