cURL
curl --request POST \ --url https://botsettings.messagesimproved.com/create_bot \ --header 'Content-Type: application/json' \ --header 'admin-email: <admin-email>' \ --header 'api-key: <api-key>' \ --data '{ "name": "BobBot", "openingMessage": "Hello! How can I assist you today?", "prompt": "Please assist users with common queries about our services." }'
{ "bot_id": "74b96c5b-7376-430c-a6d7-b78cfd6aa32c" }
API key for authentication.
Email of the admin making the request.
Bot created successfully
The response is of type object.
object