Skip to main content
POST
/
v1
/
chatbots
/
account
/
{accountId}
/
create-chatbot
Create Chatbot
curl --request POST \
  --url https://interhemispheric-unwet-paulene.ngrok-free.dev/api/v1/chatbots/account/{accountId}/create-chatbot \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Support Bot",
  "description": "Handles customer queries"
}
'
{
  "success": true,
  "message": "Chatbot created successfully",
  "data": {
    "chatbotId": "361628903185318481",
    "accountId": "360596271623307865",
    "name": "Support Bot",
    "description": "Handles customer queries",
    "isActive": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

ID of the account to create the chatbot in

Example:

"360596271623307865"

Body

application/json
name
string
required

Name of the chatbot. Must be unique within the account.

Example:

"Support Bot"

description
string
required

Short description of the chatbot. Max 50 characters.

Example:

"Handles customer queries"

Response

Created

success
boolean
Example:

true

message
string
Example:

"Chatbot created successfully"

data
object