POST
/
api
/
v1
/
chat
/
end
{
  "chatNodeId": "chat_node_id_1",
  "workflowExecutionId": "123e4567-e89b-12d3-a456-426614174000"
}
Authorization
string
required
Bearer token for API authentication. Format: Bearer {{apiToken}}
{
  "chatNodeId": "chat_node_id_1",
  "workflowExecutionId": "123e4567-e89b-12d3-a456-426614174000"
}

Request Body

{
  "chatNodeId": "<chat_node_id>",
  "workflowExecutionId": "<workflow_execution_id>"
}

Body Parameters

chatNodeId
string
required
The unique identifier of the chat node to end
workflowExecutionId
string
required
The UUID of the workflow execution

Response

Success Response (200 OK)
  • The API returns an empty response body with HTTP status 200 when the chat session has successfully ended.

Status Codes

  • 200 - OK
  • 400 - BAD REQUEST
  • 401 - UNAUTHORISED
  • 404 - NOT FOUND