cURL
curl --request POST \ --url https://sitegpt.ai/api/v0/chatbots \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "chatbotName": "Test Bot" } '
200
Example
{ "success": true, "message": "<string>", "data": {}}
Create a new chatbot
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request body to create the chatbot
Request body
Title of the chatbot
OK
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Was this page helpful?