Get a message by mrid
Method GET https://<client-api-host>/api/v3.1/containers/{crid}/messages/{mrid}
Return one message by your own reference. 404 MESSAGE_NOT_FOUND when no message
of this container carries the mrid.
Authorization
Required scope
messages:read
Use Authorization: Bearer liv_<prefix>_<secret>. The key must belong to a platform
served by the V3 pipeline; otherwise every route answers 403 PLATFORM_NOT_V3.
Parameters
| Name | In | Type | Required | Constraints | Description |
|---|---|---|---|---|---|
crid |
Path | string |
Required | Your business reference of the container. | |
mrid |
Path | string |
Required | pattern ^[A-Za-z0-9:_-]{1,64}$ | Your own reference of the message. |
Responses
Message found.
Authentication failed or missing bearer token.
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing API key"
}
}
Authenticated but not allowed: missing scope (FORBIDDEN), invalid platform
constraints (INVALID_PLATFORM_CONSTRAINTS) or a platform not served by API v3.1
(PLATFORM_NOT_V3).
{
"error": {
"code": "PLATFORM_NOT_V3",
"message": "Platform is not served by API v3.1"
}
}
Container or message not found (NOT_FOUND, MESSAGE_NOT_FOUND).
{
"error": {
"code": "MESSAGE_NOT_FOUND",
"message": "Message not found"
}
}
Rate limit exceeded.
{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests"
}
}
Unexpected server error.
{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal error"
}
}