curl --request PUT \
--url https://api.gleap.io/v3/messages/{messageId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'project: <project>' \
--data '{
"user": "<string>",
"session": "<string>",
"bot": true,
"fallbackUser": {
"username": "<string>",
"email": "<string>",
"imageUrl": "<string>"
},
"messageRef": "<string>",
"ticket": "<string>",
"data": "<any>",
"translatedData": "<any>",
"type": "<string>",
"emailId": "<string>",
"sessionNotificationsUnread": true,
"outbound": "<string>",
"outboundTemplate": "<string>",
"outboundSubject": "<string>",
"status": "<any>",
"statusHistory": [
"<any>"
],
"comment": "<any>",
"isReply": true,
"kaiChat": true,
"aiData": "<any>",
"attachments": [
{
"name": "<string>",
"url": "<string>",
"type": "<string>"
}
],
"channel": {
"id": "<string>",
"type": "<string>",
"messageId": "<string>"
},
"sendToChannel": true,
"isNote": true,
"rating": "<string>"
}'