Skip to main content
PATCH
Update chat

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
metadata
object
custom_attributes
object
override_dynamic_variables
object

Response

200 - application/json

Updated chat session.

chatId
string
agentId
string
version
integer
status
string
type
string
Example:

"web_chat"

metadata
object
customAttributes
object
startedAt
string<date-time> | null
endedAt
string<date-time> | null
transcript
string | null
messages
object[]
chatCost
object | null
chatAnalysis
object | null
collectedDynamicVariables
object
uponai_dynamic_variables
object
overrideDynamicVariables
object