Skip to main content
POST
/
widget
/
addThreadMessage
Add widget thread message
curl --request POST \
  --url http://api.superwize.ai/api/widget/addThreadMessage \
  --header 'Content-Type: application/json' \
  --data '
{
  "threadId": "thr_01JHKYY5K4GH123456789",
  "data": {}
}
'
{
  "message": {
    "id": "obj_01JHKZ0PV2WX123456789",
    "threadId": "thr_01JHKYY5K4GH123456789",
    "data": {},
    "createdAt": "2026-01-01T00:00:00.000Z"
  }
}

Body

application/json
threadId
string
required
data
object
required

Response

Widget thread message added.

message
object
required