post
https://api.ashbyhq.com/jobInterviewPlan.updateStages
Adds, updates, moves, and archives stages on a job's own default interview plan. Shared plans can't be edited with this endpoint. You must have permission to edit the job.
Get the plan and stage IDs from jobInterviewPlan.info. Edits apply in order and are saved together: if one fails, none are saved.
Edits:
updateStagechanges the title, stage group, or both. Built-in stages, such as New Lead or Hired, only accept a stage group change.addStageadds an Active stage. Settoto"start"or"end"of the Active section, or use{ "beforeStageId": "…" }or{ "afterStageId": "…" }. The new stage's ID is returned inaddedStages.moveStagemoves a stage toto, using the same placements asaddStage. Only available on jobs that have never had applications.archiveStagearchives a stage that no application is currently in. The stage is hidden from the plan but keeps its application history and activities.
Apart from stage group changes, edits only apply to unarchived, non-built-in stages of type Active. Edited stages keep their IDs and activities. Get stage group IDs from interviewStageGroup.list.
Good to know:
- A stage added or archived in a request can't be used by later edits in the same request.
- Retrying an
addStageafter a timeout can create a duplicate stage. CheckjobInterviewPlan.infobefore retrying. stagesleaves out archived stages.orderInInterviewPlanalso counts archived stages, so positions can have gaps.- People in Ashby can still move applications into an archived stage.
Error codes:
| Code | Description |
|---|---|
invalid_input | The request is malformed. |
invalid_reference | A job, plan, stage or stage group doesn't exist or can't be edited this way. |
plan_changed | This job's custom plan is no longer its default, including when someone changes the job to a different interview plan in Ashby. Call jobInterviewPlan.info and retry with the current plan and stage IDs. |
stage_has_applications | A stage to archive still has applications in it. Move them to another stage first. |
job_has_application_activity | The job has or had applications, so its stages can't be moved through the API. Reorder them in Ashby with Edit Plan Stages instead. |
interview_plan_change_in_progress | Applications are being moved onto or off the plan. Retry once the move finishes. |
Requires the jobsWrite permission.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

