Skip to main content
The Actions API exposes every operation as a named action:
The request body is the action’s input as JSON. The pages in the sidebar describe each action’s input, and List actions returns them all as JSON Schema.

Responses

A successful call returns "ok": true and the result in data:
A failed call returns "ok": false and an error. See Errors.

Changes need confirm

Actions that only read data run straight away. Actions that change data, cost messages, or contact a visitor run only when the body includes "confirm": true. Without it, they fail with CONFIRMATION_REQUIRED and nothing happens.

Dry runs

Send "dryRun": true to check a change without making it. The API validates the input and your access, and for deletions it reports what would be removed:
Run deletions and bulk changes as a dry run first. chatbots_delete, sources_delete and responses_delete can’t be undone.

Training runs in the background

Actions that train, such as sources_add and sources_sync, return a job right away. Poll jobs_get with the job’s ID until it finishes, or training_status to wait for everything a chatbot is training.

Without an account

onboarding_start and onboarding_preview work without an API key. They build a temporary demo bot from a URL that lasts 24 hours. onboarding_claim then moves it into your workspace.