curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"chatbotName": "Test Bot"
}'
{
"success": true,
"message": "<string>",
"data": {}
}
Create a new chatbot
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"chatbotName": "Test Bot"
}'
{
"success": true,
"message": "<string>",
"data": {}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Request body to create the chatbot
Request body
OK
Success Response
Was this page helpful?