AI bots

List the actions a bot may run

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

Returns the actions this AI bot may run in another system, with the inputs it fills in: HTTP actions, set up in the bot editor, and app actions of the apps the organization connected.

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

Every action the bot may run.

application/json
  1. response

Every action the bot may run, in the order they were created. One page holds them all.

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/actions'
Example Response
{  "object": "list",  "data": [    {      "object": "ai_bot_action",      "id": "cm3a1b2c30001qz8hact10001",      "name": "Create CRM lead",      "description": "Run when the customer gives their name and email and asks to be contacted.",      "method": "POST",      "url_host": "hooks.zapier.com",      "inputs": [        {          "name": "name",          "type": "string",          "description": "The customer's full name.",          "required": true        },        {          "name": "email",          "type": "string",          "description": null,          "required": true        }      ],      "has_auth_secret": false,      "kind": "http_request",      "read_only": false,      "app_action": null,      "created_at": "2026-11-20T10:00:00Z",      "updated_at": "2026-11-20T10:00:00Z"    },    {      "object": "ai_bot_action",      "id": "cm3a1b2c30001qz8hact10002",      "name": "Book a meeting",      "description": "Run when the customer agrees on a date and time for a meeting.",      "method": null,      "url_host": null,      "inputs": [        {          "name": "summary",          "type": "string",          "description": "Event Title: Enter a title for the event",          "required": true        },        {          "name": "eventStartDate",          "type": "string",          "description": "Event Start Date",          "required": true        }      ],      "has_auth_secret": false,      "kind": "app_action",      "read_only": false,      "app_action": {        "app": "google_calendar",        "account_id": "apn_kVh9AoD",        "component_key": "google_calendar-create-event",        "fixed": [          {            "name": "calendarId",            "value": "sales@example.com",            "label": "Sales calendar"          }        ]      },      "created_at": "2026-12-01T10:00:00Z",      "updated_at": "2026-12-01T10:00:00Z"    }  ],  "has_more": false,  "next_cursor": null}