Playbook Rules
Endpoints for managing rules within a playbook.
List playbook rules
Returns all rules for the given playbook, scoped to the current organization.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List playbook rules › Responses
A list of playbook rules
Create a playbook rule
Creates a new rule under the given playbook. name and actions are required; description is optional.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Create a playbook rule › Request Body
nameName for the rule.
actionsActions to take when this rule is triggered.
descriptionOptional description for the rule.
Create a playbook rule › Responses
Playbook rule created; returns the new rule resource
Retrieve a playbook rule
Returns one rule by id under the given playbook, scoped to the current organization.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
rule_idPlaybook rule id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Retrieve a playbook rule › Responses
A single playbook rule
Delete a playbook rule
Permanently deletes one rule by id under the given playbook.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
rule_idPlaybook rule id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Delete a playbook rule › Responses
Playbook rule deleted; no content returned
Update a playbook rule
Updates one or more fields on a single playbook rule. Send only the fields you want to change.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
rule_idPlaybook rule id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Update a playbook rule › Request Body
nameUpdated name for the rule.
descriptionUpdated description for the rule.
actionsUpdated actions for the rule.
Update a playbook rule › Responses
Updated playbook rule