Delete an archived AI bot
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.
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.
bearerAuthAuthorizationBearer <nfy_live_<32 characters>>An API key from Settings > API keys, sent as Authorization: Bearer <key>.
id*stringThe bot id.
1 <= length <= 64The bot was deleted.
application/json- response
object*stringid*string1 <= length <= 64deleted*booleancurl -X DELETE 'https://api.whatsable.app/v1/ai-bots/string'{ "object": "ai_bot", "id": "string", "deleted": true}Change an AI bot's prompt or configuration PATCH
Changes the fields you send and keeps the others. The change takes effect on the bot's next reply, also while the bot answers customers. The rules between fields apply to the result, with the stored values for the fields you leave out.
Copy an AI bot into a new draft POST
Copies an AI bot under a new name, with its configuration, knowledge files and sendable files. The copy is a `draft` and is on no number.