Skip to main content
POST
/
api
/
chats
/
{chatId}
/
end
End chat
curl --request POST \
  --url https://api.upon-ai.com/api/chats/{chatId}/end \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": 123
}
'

Authorizations

Authorization
string
header
required

Generate tokens from your profile settings at app.uponai.com.

Path Parameters

chatId
string
required

Chat identifier.

Body

application/json
workspaceId
integer
required

Response

204

Chat ended.