Get a message and its status
Returns one message in your workspace with its delivery status. Requires the read scope. A failed message includes failure with a code and a safe message.
Responses
| Status | Meaning and codes |
|---|---|
| 200 | The message. |
| 401 | undefined |
| 403 | undefined |
| 404 | undefined |
Success and handled error responses send Cache-Control: no-store and X-Correlation-ID (the resolved/generated UUID). Errors use application/problem+json and the reusable ProblemDetails schema below. Retry-After: 1 is sent only for RATE_LIMITED. Request examples read your key from a server environment variable; replace all fictional values.
Schemas and examples
ApiKeyAuthorizationBearer <token>Server-side API key. publicId is 12 lowercase base32 characters (a-z, 2-7); secret is 43 base64url characters from 32 random bytes. Use Authorization: Bearer <complete key>. The API key determines the workspace; requests cannot select another workspace. All public routes share 20 requests per second per key. See API-key authentication.
messageId*stringMessage ID returned by send-message or conversation reads.
uuidX-Correlation-ID?stringOptional tracing ID. A UUID-shaped value is echoed in the response. Missing or invalid values are replaced with a generated UUID, not rejected.
The message.
application/json- response
Message read. The status fields and failure appear on the single-message read only.
id?stringuuidconversationId?stringuuidchannelConnectionId?stringuuidchannelType?stringdirection?stringorigin?string|nulltype?stringtext?string|nullinteractiveReply?|Set when the customer tapped a reply button or list row. For template quick-reply buttons, id is the payload you set when sending.
replyToMessageId?|The message this one replies to. A button tap points to the message that carried the button.
uuidmedia?|nulloccurredAt?stringdate-timestatus?stringDelivery status of the message.
failure?|nullcreatedAt?stringdate-timesentAt?stringdate-timedeliveredAt?stringdate-timereadAt?stringdate-time