Get Message

Overview

Get the processed message using id returned in response when message was submitted.

Scope

Client application must have 'app.conversation.notificationmgr.interaction.manage' or 'app.conversation.notificationmgr.interaction.read' scope assigned.

SecurityoAuthClient
Request
path Parameters
id
required
string = 36 characters

id of object

Example: 7b6c5fff-036e-4a40-b68a-a67c592fc079
Responses
200

Get processed messages

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal server error

get/messages/{id}
Request samples
Response samples
application/json
{
  • "id": "9697487b-f41a-4097-91d2-80b0df61916a",
  • "messageId": "bb0dd8f7-7ac7-4b94-9bc5-02b8a8ed131a",
  • "from": "from@egain.com",
  • "recipient": "to@egain.com",
  • "subject": "Test email",
  • "inboundChannel": "REST",
  • "channel": "email",
  • "content": {
    },
  • "status": "sent",
  • "requestId": "9697487b-f41a-4097-91d2-80b0df61916a",
  • "created": "2020-02-12T21:12:34.448Z",
  • "sent": "2020-02-12T21:13:20.517Z"
}