Responses
A successful call returns"ok": true and the result in data:
"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:
chatbots_delete, sources_delete and responses_delete can’t be undone.
Training runs in the background
Actions that train, such assources_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.