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:

  • updateStage changes the title, stage group, or both. Built-in stages, such as New Lead or Hired, only accept a stage group change.
  • addStage adds an Active stage. Set to to "start" or "end" of the Active section, or use { "beforeStageId": "…" } or { "afterStageId": "…" }. The new stage's ID is returned in addedStages.
  • moveStage moves a stage to to, using the same placements as addStage. Only available on jobs that have never had applications.
  • archiveStage archives 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 addStage after a timeout can create a duplicate stage. Check jobInterviewPlan.info before retrying.
  • stages leaves out archived stages. orderInInterviewPlan also counts archived stages, so positions can have gaps.
  • People in Ashby can still move applications into an archived stage.

Error codes:

CodeDescription
invalid_inputThe request is malformed.
invalid_referenceA job, plan, stage or stage group doesn't exist or can't be edited this way.
plan_changedThis 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_applicationsA stage to archive still has applications in it. Move them to another stage first.
job_has_application_activityThe 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_progressApplications 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
uuid
required
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

The ID of the job whose interview plan stages to edit

uuid
required
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

The ID of the job's default interview plan, as returned by jobInterviewPlan.info.

edits
array
required
length between 1 and 50

An ordered batch of 1–50 edits, applied in request order

edits*
const
enum
required

The kind of edit. updateStage changes a stage's title, stage group, or both. Include at least one of title and interviewStageGroupId.

Allowed:
uuid
required
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

The ID of the stage to update

string

The stage title. Leading and trailing whitespace is removed. The result must contain 1–200 Unicode characters. Omit it to keep the current title. Omit it for a built-in stage; any title on a built-in stage, even the current one, is rejected with invalid_reference.

^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

The ID of the stage group to put the stage in, from interviewStageGroup.list. null removes the stage from its group.

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json