Create approval flow

Creates an approval flow on a job or offer and returns it with its approver groups. No approver is asked until POST /v3/approval_flows/{id}/request_approvals starts the flow. Without offer_id, an offer_candidate flow also replaces the flow on each unsent job offer whose approvals were not requested. These replacements finish after the response, so read the new offer flows from GET /v3/approval_flows filtered by offer ids. To change the groups of an existing flow, use PUT /v3/approval_flows/{id}/replace_approver_groups. The call fails with a not found error when approvals are turned off for the organization.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

Id of the job (hiring plan) this approval flow will gate, from GET /v3/jobs.

integer

Id of the specific offer this approval flow will gate. Only valid (and required) when approval_type is offer_candidate; omit for open_job and offer_job flows. From GET /v3/offers.

string
enum
required

What this flow approves. open_job gates opening the job for recruiting, offer_job gates allowing offers to be created on the job, and offer_candidate gates extending an individual offer to a candidate. Each job allows at most one open_job and one offer_job flow; offer_candidate flows exist either as a job-level prototype (no offer_id) or one per offer.

Allowed:
boolean
required

When true, approver groups resolve one at a time in submitted order — only after the current group resolves as approved are the next group's approvers asked. When false, all groups are activated in parallel once the flow is started.

approver_groups
array of objects
required

Ordered tiers of approvers to seed into the new flow. The array's index becomes each group's sort_order (zero-based), so earlier entries are asked first in sequential flows.

approver_groups*
Responses

401

Unauthorized

403

Forbidden

422

Unprocessable Content

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json