Import library playbook into project

View as Markdown

Imports an active library playbook into a project in one call, cloning any missing object definitions into the project first. The imported playbook lands active. Fails with 404 when the source is missing or not library-scope, or 422 when the source is not active or a reference is unresolvable.

Authentication

AuthorizationBearer

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

Path parameters

projectIdstringRequired
The destination project id.

Request

This endpoint expects an object.
playbookIdstringRequired>=1 character

Response

The imported project playbook.
playbookobject

Errors

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