Other

Move a Template to Another Stage

Changed on

Moves a template to another stage, for example "Submit for review" into a review stage.

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

post/approval-flows/{flow}/items/{item}/move

Request

  • Base URL
    https://api.orshot.com/v1
  • URL
    https://api.orshot.com/v1/approval-flows/{flow}/items/{item}/move
  • 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

toStagestring required

Destination stage. A number is an id, anything else a slug.

revisioninteger required

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

commentstring

Required when the destination stage asks for one. Up to 5000 characters.

afterinteger

Place after this item in the column; null for the top. Can be null.

reviewedVersionstring

Required when the destination is an approved stage: the item.template.currentVersion you looked at. Refused with stale_review if the design changed since.

Response

Successful response

object required

Changes