Skip to main content
POST
Create 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.

Body

application/json

Send title, when_to_use and body, or template_id.

title
string
Required string length: 1 - 120
when_to_use
string
Required string length: 1 - 1024
body
string

The steps in markdown.

Required string length: 1 - 20000
inputs
object[]
Maximum array length: 10
needs
object[]
Maximum array length: 20
slug
string

Name part of the skill id (ws-<slug>). Derived from the title when omitted.

template_id
enum<string>
Available options:
missed-call-callback,
appointment-confirm-remind,
weekly-owner-brief
language
enum<string>
default:en

Template language.

Available options:
en,
de,
fr,
es

Response

The created draft playbook.

data
object
required