Skip to main content
PATCH
cURL

Changing recruiters

On a human interview round, send recruiter_user_ids. The change goes through the same checks as the dashboard’s round settings: at least one recruiter must have a connected calendar (409 recruiter_calendar_missing), and candidates still booking with the round must keep a recruiter who can take them (409 recruiter_pool_empty). The response is 200 with the round, whose recruiter_source is explicit.

Changing the template

On an Alex interview round, send template_id. The round’s interview guide is regenerated from the template after the response, so the answer is 202 with guide_status: "generating". Poll GET /jobs/{id}/rounds until guide_status is ready or failed. While a guide is generating, another change to the round returns 409 round_guide_generating. Send one of the two fields. Sending one that doesn’t fit the round’s type returns 400 parameter_invalid.

Authorizations

X-API-Key
string
header
required

Your company's API key, from Settings → Integrations in Alex. The earlier API's api-key header is accepted too; if you send both headers they must carry the same key.

Headers

Idempotency-Key
string

A unique value, 1 to 255 characters, that makes the request safe to retry. See Idempotency.

Required string length: 1 - 255

Path Parameters

id
string
required

The job's id.

number
string
required

The round's number, from 1.

Body

application/json

Send template_id or recruiter_user_ids. A field the round's type doesn't take returns 400.

template_id
string

Alex interview rounds only: regenerate the round's interview guide from this template. Runs in the background; the response is 202 with guide_status: generating.

Minimum string length: 1
recruiter_user_ids
string[]

Human interview rounds only: the recruiters candidates are handed to, replacing the current ones. Each must be an active user of your company, and at least one needs a connected calendar.

Minimum array length: 1

Response

The round, with its new recruiters.

A round of a job: the workflow round it runs and how it is set up on this job.

object
string
required

Always "round".

Allowed value: "round"
id
string
required

The round's id.

number
integer
required

The round's position in the job's workflow, from 1.

Required range: x >= 1
type
enum<string>
required

alex_interview (Alex interviews the candidate), human_interview (the candidate is handed to a recruiter for a meeting) or assessment.

Available options:
alex_interview,
human_interview,
assessment
job_id
string
required
medium
enum<string> | null
required

How candidates take the round. Always video for an assessment. null when the workflow names no medium for the round.

Available options:
video,
phone,
sms,
phone_sms,
whatsapp,
whatsapp_voice,
whatsapp_messaging
template_id
string | null
required

Alex interview rounds: the template the round's interview guide was built from, if any.

assessment_guide_id
string | null
required

Assessment rounds: the assessment guide the round runs.

recruiter_user_ids
string[]
required

Human interview rounds: the recruiters candidates are handed to. Empty for other rounds, and when recruiter_source is workflow_variable or ats_pool.

recruiter_source
enum<string> | null
required

Human interview rounds: where the recruiters come from. explicit: the users in recruiter_user_ids. workflow_variable: a workflow variable names them per candidate. ats_pool: your ATS's interviewer pool names them per candidate. null for other rounds.

Available options:
explicit,
workflow_variable,
ats_pool,
null
guide_status
enum<string> | null
required

Alex interview rounds: generating while the round's interview guide is being regenerated, ready once it is, failed if regeneration stopped. null for other rounds.

Available options:
generating,
ready,
failed,
null
updated_at
string<date-time> | null
required

When the round last changed.