Skip to main content
PATCH
Update a playbook draft

Authorizations

Authorization
string
header
required

API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write, routine_approvals:read, routine_approvals:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.

Path Parameters

id
string<uuid>
required

Playbook ID.

Body

application/json

Send at least one field.

title
string
Required string length: 1 - 120
when_to_use
string
Required string length: 1 - 1024
body
string
Required string length: 1 - 20000
inputs
object[]
Maximum array length: 10
needs
object[]
Maximum array length: 20
apply_template_update
boolean

Replace the draft with the newer platform template version.

enabled
boolean

Switch the playbook on or off for Milian. Needs a workspace owner or admin.

Response

The playbook with its new draft version.

data
object
required