WhatsApp API Platform
Chatbots

Delete chatbot

DELETE
/api/v1/chatbots/{id}

Delete a chatbot by ID.

Authorization

ApiKeyAuth
X-API-Key<token>

API key from your dashboard (Settings > API Keys)

In: header

Path Parameters

id*string

Chatbot ID (cuid2)

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://loading/api/v1/chatbots/cbt_abc123"
{
  "success": true,
  "data": "Chatbot deleted successfully"
}
{
  "success": false,
  "message": "to field is required"
}
{
  "success": false,
  "message": "user not authenticated"
}
{
  "success": false,
  "message": "Chatbot not found"
}
{
  "success": false,
  "message": "internal server error"
}