Updates conversation context variables for a specific conversation.
PATCH/api/v2/agent/:agentCode/conversation/:conversationId/context
Updates conversation context variables for a specific conversation.
Request
Path Parameters
The agent code to update context variables for.
The ID of the conversation to update context variables for.
Query Parameters
Use this param to override the culture of the response. Options: - en (default) - es
- application/json
- text/json
- application/*+json
Body
The key-value pairs of variables to update.
Array [
]
Body
The key-value pairs of variables to update.
Array [
]
Body
The key-value pairs of variables to update.
Array [
]
Responses
- 200
- 401
- 403
- 500
Success
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"success": true,
"updatedKeys": [
"string"
]
}
- Schema
- Example (from schema)
Schema
{
"success": true,
"updatedKeys": [
"string"
]
}
- Schema
- Example (from schema)
Schema
{
"success": true,
"updatedKeys": [
"string"
]
}
The user is unauthorized or the session expired
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
The user does not have permission
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}
There was an unexpected error
- application/json
- Schema
- Example (from schema)
Schema
Stable, machine-readable error code. Branch on this value, not on message.
Human-readable, localised summary of the error.
Link to the documentation section for this error code.
{
"code": "string",
"message": "string",
"documentationUrl": "string"
}