Awell Health Developer Hub
Developer Hub

This request allows us to fetch the details of a message activity.

Request

Query

  • graphql
01query GetMessage($id: String!) {
02 message(id: $id) {
03 message {
04 id
05 body
06 format
07 subject
08 attachments {
09 id
10 name
11 url
12 type
13 }
14 }
15 }
16}

Variables

An example id for a message is "9rjfb9qE4pEY".

  • json
01{
02 "id": "{{MESSAGE_ID}}"
03}

Where to find the message id

The id of the message can be found in the object.id field of an activity.

  • json
01{
02 "activity": {
03 "id": "{{ACTIVITY_ID}}",
04 "object": {
05 "id": "{{MESSAGE_ID}}",
06 "type": "message"
07 },
08 ...
09 }
10}

How to use