light-mode-image
Learn
MATTR VII PlatformInboxes

Retrieve a message

Retrieves a message from the requested inbox by providing its ID.

Analytics Events

MESSAGING_INBOX_MESSAGE_RETRIEVE_STARTMESSAGING_INBOX_MESSAGE_RETRIEVE_SUCCESSMESSAGING_INBOX_MESSAGE_RETRIEVE_FAIL

Roles

adminissuer
GET/v1/messaging/inboxes/{id}/messages/{messageid}
AuthorizationBearer <token>

In: header

Path Parameters

idstring

Requested inbox ID

messageidstring

Requested message ID

Response Body

curl -X GET "https://example.vii.au01.mattr.global/v1/messaging/inboxes/string/messages/string"
{
  "name": "string",
  "createdAt": "2019-08-24",
  "id": "string",
  "inboxId": "string",
  "payload": "string"
}

{
  "code": "BadRequest",
  "message": "Validation Error",
  "details": [
    {
      "value": "notUUIDvalue",
      "msg": "Invalid value",
      "param": "inboxId",
      "location": "params"
    }
  ]
}

{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?