Other

Start Editing an Approved Template

Changed on

Starts editing a template that is ready for automation, once the person picks what happens after the edit.

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

post/approval-flows/{flow}/items/{item}/start-edit

Request

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

Path parameters

flowstring required

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

iteminteger required

The approval item's id (one template in one approval flow).

Request body

modestring required

What happens after the edit: keep (edit it where it is; approvers of the stage, owners and admins), review (edit it where it is, then send it to the review before its stage) or draft (move it to Draft now).

revisioninteger

The item's revision you last saw; refused with state_conflict if it changed.

Response

Successful response

object required

Changes