Other

Copy an Approval Flow to Another Workspace

Changed on

Copies an approval flow's structure (stages, rules, and approvers matched by email) into another workspace you manage.

Available only to Enterprise-plan workspaces and first-party clients.

post/approval-flows/{flow}/duplicate

Request

  • Base URL
    https://api.orshot.com/v1
  • URL
    https://api.orshot.com/v1/approval-flows/{flow}/duplicate
  • Auth
    HTTP bearer

Path parameters

flowstring required

The approval flow's id or slug. A number is an id, anything else a slug.

Request body

targetWorkspaceIdinteger required

Workspace to copy the structure into (you must manage approval flows there).

namestring

Display name. Up to 80 characters.

slugstring

Slug in the target workspace.

includeGrantsboolean

Copy who may approve, matched by email; unmatched people are listed. Default true.

Response

Successful response

object required

Changes