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'
bearerAuthheader
AuthorizationBearer <nfy_live_<32 characters>>An API key from Settings > API keys, sent as Authorization: Bearer <key>.
id*stringThe bot id.
Length
1 <= length <= 64limit?integerHow many items to return, 1 to 100.
Range
1 <= value <= 100Default
25cursor?stringThe next_cursor of the previous page. An expired or malformed cursor answers 400 invalid_cursor.
Length
1 <= length <= 512A page of sendable files, newest first.
application/json- response
object*stringdata*array<>has_more*booleanTrue 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.
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"}