Other

Add a Template to an Approval Flow

Changed on

Puts a template into an approval flow at its entry stage (or the stage you name).

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

post/approval-flows/{flow}/items

Request

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

templateIdinteger required

The template's id.

stagestring

Starting stage; the flow's entry stage when omitted. A number is an id, anything else a slug.

commentstring

Optional note. Up to 5000 characters.

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