POST
request to the /api/v1/create-chatbot
endpoint.
Endpoint
Request Headers
The API request must include the following headers:Authorization: Bearer <Your-Secret-Key>
- The secret key for authenticating the API request.Content-Type: application/json
- The content type of the request payload.
Request Body
The request body should contain the following parameters:chatbotName
(string, required): The name of the chatbot to be created.sourceText
(string, optional): The text data for the chatbot. This field is subject to the character limit based on your plan
Example Request
Response
The API response will be a JSON object with the following structure:chatbotId
field in the response contains the unique identifier assigned to the created chatbot.