POST
/
v0
/
chatbots
/
{chatbotId}
/
threads
/
{threadId}
/
escalate
curl --request POST \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/threads/{threadId}/escalate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "escalationPrompt": "I want to talk to an actual human. Please escalate this conversation."
}'
{
  "success": true,
  "message": "Escalated the conversation successfully",
  "data": null
}

Authorizations

Authorization
string
header
required

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

Path Parameters

chatbotId
string
required

Id of the chatbot the thread belongs to

threadId
string
required

Id of the thread that has to be escalated

Body

application/json

Request body to escalate a thread/conversation

Request Body

Response

200
application/json

OK

Success Response