Clone playbook

View as Markdown

Duplicates a playbook as a new draft, optionally into a different scope (library/template/project). Object references are rewritten for the destination container; an unresolvable reference fails with 422.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

Request

This endpoint expects an object.
scopeenumOptional
Allowed values:
projectIdstringOptional>=1 character
templateIdstringOptional>=1 character

Response

The cloned playbook.
playbookobject

Errors

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