Skip to main content
POST
Create a new bot

Headers

api-key
string
required

API key for authentication.

admin-email
string
required

Email of the admin making the request.

Body

application/json
name
string
required

The name of the bot.

Example:

"BobBot"

openingMessage
string
required

The initial message that the bot will send.

Example:

"Hello! How can I assist you today?"

prompt
string
required

The prompt that defines the bot's behavior.

Example:

"Please assist users with common queries about our services."

Response

Bot created successfully

bot_id
string

Unique identifier for the newly created bot.

Example:

"74b96c5b-7376-430c-a6d7-b78cfd6aa32c"