Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Playbook to create
name
string
required
Name of the playbook.
Required string length: 1 - 200
segment_ids
string[]
IDs of the customer segments the playbook applies to. Empty when it only applies as the default playbook or by customer assignment.
Maximum array length: 50
priority
integer
Priority of the playbook. When several playbooks match a customer, the highest priority wins.
Required range: 0 <= x <= 10000
reminder_sequence_id
string | null
ID of the invoice reminder sequence linked to the playbook. Invoice reminders keep running from it.
triggers
object
Conditions that open a case on a customer. A case opens when one of the set conditions is met.
Show child attributes
agent_mode
enum<string>
How the collection agent acts on the playbook's cases: off, suggest (a person approves each action) or automatic. Defaults to suggest on creation. A playbook without steps cannot be off.
Available options:
off,
suggest,
automatic
context
string | null
Context the agent reads on the playbook's cases.
Maximum string length: 10000
silence_checkpoint_days
integer
Days without an answer after the last email before the agent reviews the case.
Required range: 1 <= x <= 30
steps
object[]
Recovery steps run once a case is open, in order.
Maximum array length: 30
Show child attributes
senders
object[]
Sender profiles the playbook's emails are sent as.
Maximum array length: 20
Show child attributes
is_default
boolean
Whether the playbook is the default one, applied when no other playbook matches. Setting it moves the default to this playbook.
Response
id
string
required
Collection playbook ID.
Example:
"cpb_2bHxVsTaFsPgMf"
name
string
required
Name of the playbook.
Example:
"Late invoices"
segment_ids
string[]
required
IDs of the customer segments the playbook applies to. Empty when it only applies as the default playbook or by customer assignment.
priority
integer
required
Priority of the playbook. When several playbooks match a customer, the highest priority wins.
reminder_sequence_id
string | null
required
ID of the invoice reminder sequence linked to the playbook. Invoice reminders keep running from it.
triggers
object
required
Conditions that open a case on a customer. A case opens when one of the set conditions is met.
Show child attributes
agent_mode
enum<string>
required
How the collection agent acts on the playbook's cases: off, suggest (a person approves each action) or automatic. Defaults to suggest on creation. A playbook without steps cannot be off.
Available options:
off,
suggest,
automatic
context
string | null
required
Context the agent reads on the playbook's cases.
is_default
boolean
required
Whether the playbook is the default one, applied when no other playbook matches. Setting it moves the default to this playbook.
silence_checkpoint_days
integer
required
Days without an answer after the last email before the agent reviews the case.
steps
object[]
required
Recovery steps run once a case is open, in order.
Show child attributes
senders
object[]
required
Sender profiles the playbook's emails are sent as.