WhatsAble
API v1AI bots

Delete an archived AI bot

deletehttps://api.whatsable.app/v1/ai-bots/{id}
Build a request to copy

This page never sends a request. Fill in the fields, then copy the request and run it from your server.

Request
curl -X DELETE 'https://api.whatsable.app/v1/ai-bots/string'

Deletes an archived AI bot. Archive the bot first with PATCH and { "status": "archived" }. Deleting takes the bot off every number and conversation, so a key limited to some numbers can delete it only if the key may use all of those numbers.

Authorization

bearerAuth
headerAuthorizationBearer <nfy_live_<32 characters>>

An API key from Settings > API keys, sent as Authorization: Bearer <key>.

Path Parameters

id*string

The bot id.

Length1 <= length <= 64

Response Body

The bot was deleted.

application/json
  1. response
object*string
id*string
Length1 <= length <= 64
deleted*boolean
Example Request
curl -X DELETE 'https://api.whatsable.app/v1/ai-bots/string'
Example Response
{  "object": "ai_bot",  "id": "string",  "deleted": true}