Chatbot
Create Chatbot
Create a new chatbot
POST
/
v0
/
chatbots
Authorization
Body
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"chatbotName": "Test Bot"
}'
{
"success": true,
"message": "<string>",
"data": {}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
chatbotName
string
requiredTitle of the chatbot
Response
200 - application/json
success
boolean
Indicates whether this is success response or error response
message
string
Overall message regarding the operation performed
data
object | null
Data returned from the server
Was this page helpful?
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"chatbotName": "Test Bot"
}'
{
"success": true,
"message": "<string>",
"data": {}
}