Request
This endpoint expects an object.
namestringOptional1-128 characters
Display name for the playbook
descriptionstringOptional<=512 characters
Short description of the playbook (routing-facing). Required to be non-empty when the playbook is active; activating one without a description is rejected with 422.
sectionslist of objectsOptional
The ordered sections of the playbook. Each section holds an ordered list of steps (send, set, ask, run, if_else, go_to). Every section and step needs a caller-generated unique ObjectId string. Editing sections is rejected with 422 on a Playbook that has send-step attachments. Add or edit those in the dashboard. Every other field stays editable through the API.
enabledbooleanOptional
Set the playbook's active state. Omit to leave it unchanged. Setting true validates the full step graph before activating.
general_instructionsstring or nullOptional
Instructions that apply across the whole playbook. Send null to clear.
on_human_requestenumOptional
Deviation behavior when the user asks for a human
on_off_topicenumOptional
Deviation behavior when the user goes off topic
on_off_scriptenumOptional
Deviation behavior when the conversation goes off script
acknowledgment_instructionstring or nullOptional<=500 characters
Instruction for the acknowledgment message
chat_acknowledgment_overridebooleanOptional
Request an acknowledgment for this playbook on messaging platforms
even when the Agent-wide messaging acknowledgment setting
(enable_acknowledgment_messages) is off. Never suppresses.
availability_rulesobject or nullOptional
Omit to leave the current rule unchanged, send null to clear it, or send a rule to replace it. An unknown variable id or a malformed rule is rejected with a 400.
Response
OK
idstringRead-only
The unique identifier for the playbook
namestring<=128 characters
Display name for the playbook
versionintegerRead-only=2
The playbook schema version. Always 2 on this surface.
enabledboolean
Whether the playbook is enabled. False means draft.
descriptionstringOptional
Short description of the playbook (routing-facing)
general_instructionsstring or nullOptional
Instructions that apply across the whole playbook
sectionslist of objects or nullOptionalRead-only
The ordered sections of the playbook. Each section holds an ordered list of steps (send, set, ask, run, if_else, go_to).
can_run_standalonebooleanOptional
Whether the playbook can be triggered on its own
referenced_articleslist of stringsOptional
Ids of knowledge articles referenced by the playbook
tagslist of stringsOptional
Tag ids applied to the playbook
acknowledgment_instructionstring or nullOptional<=500 characters
Instruction for the acknowledgment message
chat_acknowledgment_overridebooleanOptional
Request an acknowledgment for this playbook on messaging platforms
even when the Agent-wide messaging acknowledgment setting
(enable_acknowledgment_messages) is off. Never suppresses.
on_human_requestenumOptional
Deviation behavior when the user asks for a human
on_off_topicenumOptional
Deviation behavior when the user goes off topic
on_off_scriptenumOptional
Deviation behavior when the conversation goes off script
availability_rulesobject or nullOptionalRead-only
The structured rule that gates when the Agent uses this Playbook, with variables referenced by id, or null when no rule is attached