Skip to main content
POST
/
chat
/
update
Update chat participants
curl --request POST \
  --url https://api.qtzl.ai/chat/update \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "chat_id": "<string>",
  "participants": [
    {
      "id": "<string>",
      "locale": "<string>",
      "name": "<string>"
    }
  ]
}'
{
  "result": "ok",
  "message": "Chat has been updated successfully"
}
Update an existing chat. When participant locales are updated, all messages previously added will be translated to ensure they are readable in any new locales.

Authorizations

api-key
string
header
required

Body

application/json
chat_id
string
required
participants
object[]
required
Minimum length: 1

Response

result
string
Example:
message
string
Example: