Skip to main content

Create a playbook

POST 

/plugins/playbooks/api/v0/playbooks

Create a playbook

Request

Responses

ID of the created playbook.

Response Headers
    Location

    Location of the created playbook.

    Example: /api/v0/playbook/cdl5o0tjcp5rqlpjidhobj64nd

Callbacks

POST 

{$request.body#/webhook_on_creation_url}

When a playbook run is created with this playbook, a POST request is sent to the URL configured in webhook_on_creation_url. The webhook is considered successful if your server returns a response code within the 200-299 range. Otherwise, the webhook is considered failed, and a warning message is posted in the playbook run's channel. No retries are made.

Callbacks Responses

Your server returns a 2XX code if it successfully received the request.