PUT
/
messages
/
{messageId}
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>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Path Parameters

messageId
string
required

Body

application/json
user
string
session
string
bot
boolean
fallbackUser
object
messageRef
string
ticket
string
data
any
translatedData
any
type
string
emailId
string
sessionNotificationsUnread
boolean
outbound
string
outboundTemplate
string
outboundSubject
string
status
any
statusHistory
any[]
comment
any
isReply
boolean
kaiChat
boolean
aiData
any
attachments
object[]
channel
object
sendToChannel
boolean
isNote
boolean
rating
string

Response

200 - application/json
Ok

The response is of type any.