WhatsAble
API v1AI bots

Remove a file a bot may send

deletehttps://api.whatsable.app/v1/ai-bots/{id}/files/{file_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/files/string'

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
file_id*string

The sendable file id. It must belong to this bot.

Length1 <= length <= 64

Response Body

The file was removed.

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/files/string'
Example Response
{  "object": "ai_bot_file",  "id": "string",  "deleted": true}