WhatsAble
API v1AI bots

List the files a bot may send

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

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

Query Parameters

limit?integer

How many items to return, 1 to 100.

Range1 <= value <= 100
Default25
cursor?string

The next_cursor of the previous page. An expired or malformed cursor answers 400 invalid_cursor.

Length1 <= length <= 512

Response Body

A page of sendable files, newest first.

application/json
  1. response
object*string
data*array<>
has_more*boolean

True when another page follows this one.

next_cursor*|

Pass as cursor to read the next page. Null on the last page. Valid for 24 hours.

Example Request
curl -X GET 'https://api.whatsable.app/v1/ai-bots/string/files'
Example Response
{  "object": "list",  "data": [    {      "object": "ai_bot_file",      "id": "cm2v8g1a00001qz8h1r2s3t4u",      "bot_id": "cm2v8b1a00001qz8h3j4k5l6m",      "filename": "catalog-2026.pdf",      "display_name": "Catalog 2026",      "kind": "document",      "mime_type": "application/pdf",      "size_bytes": 2483120,      "description": "Our full catalog with prices. Send it when the customer asks what we sell.",      "active": true,      "created_at": "2026-10-20T19:51:21Z"    }  ],  "has_more": true,  "next_cursor": "string"}