Skip to main content
POST
/
api
/
widget
/
messages
Send a message from widget
curl --request POST \
  --url https://api.g-tateth.com/api/widget/messages \
  --header 'Content-Type: application/json' \
  --data '
{
  "conversationId": "<string>",
  "tenantId": "<string>",
  "text": "<string>",
  "attachments": [
    {}
  ]
}
'
{
  "success": true,
  "data": {
    "messageId": "<string>",
    "status": "sent"
  }
}

Body

application/json
conversationId
string
required
tenantId
string
required
text
string
required
attachments
object[]

Response

200 - application/json

Message sent successfully

success
boolean
data
object