PATCH
/
ai
/
{v}
/
chat
Update chat
curl --request PATCH \
  --url https://platform.ai.gloo.com/ai/{v}/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "new_value": "<any>"
}'
{
  "chat_id": "cd7c70b84-81b4-4865-ba38-5bce98d1919d",
  "field": "pin",
  "value": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

v
enum<string>
required
Available options:
v1

Query Parameters

chat_id
string
required
chat_field
enum<string>
required

Select a field

Available options:
pin,
title,
summary

Body

application/json

Response

200
application/json

Successful response

The response is of type any.