POST
/
chatbot
/
{id}
/
run
curl --request POST \
  --url https://api.vectorshift.ai/v1/chatbot/{id}/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "conversation_id": "<string>",
  "stream": false
}'
{
  "status": "success",
  "conversation_id": "<string>",
  "output_message": "<string>",
  "follow_up_questions": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication using API key

Path Parameters

id
string
required

Chatbot ID

Body

text
string
required
audio
file

Base64 encoded audio data

conversation_id
string
stream
boolean
default:false

Response

200
application/json
Successful response. Returns regular JSON response or SSE stream based on 'stream' parameter.
status
enum<string>
required
Available options:
success,
failed
conversation_id
string
required
output_message
string
required
follow_up_questions
string[]