cURL
curl --request POST \ --url https://api.chatling.ai/v2/chatbots \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "template_id": 123 }'
{ "status": "success", "data": { "id": "9761342719", "name": "My chatbot", "version": "2.0", "visibility": "public", "created_at": "2024-06-17T12:00:00+00:00" } }
Create a new chatbot using a template or from scratch.
success
error
Show properties