Mutations
Mark a message activity as read
This request allows us to update the status of the message activity to "DONE".
- graphql
01mutation MarkMessageAsRead($input: MarkMessageAsReadInput!) {02 markMessageAsRead(input: $input) {03 activity {04 id05 status06 }07 }08}
- json
01{02 "input": {03 "activity_id": "{{MESSAGE_ACTIVITY_ID}}"04 }05}
The optional X-User-ID
header can be used to specify which user has read the message. When this header is present, Awell Orchestration will log a subactivity indicating that this specific user read the message.
- json
01{02 "X-User-ID": "{{USER_ID}}"03}