Create project playbook

View as Markdown

Creates a playbook in a project, either from a request body or by cloning a library/template playbook via { from }. Fails with 404 when the project is inaccessible, 403 without authoring access, 400 when the project is closed, or 409 on a slug conflict.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
The project id.

Request

This endpoint expects an object.
objectRequired
OR
objectRequired

Response

The created project playbook.
playbookobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error