Skip to main content
PATCH
cURL

Stages

The API reads and changes an application’s progress through stages. An application’s stage is null only until it has a stage. Find stage ids on any application’s stage, or in the stage events. A stage in the complete_unsuccessful category rejects the application; send rejection_reason with it to record why.

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 application's id.

Body

application/json

Send stage_id, rejection_reason or both.

stage_id
string

The stage to move the application to. One of your company's application stages.

Minimum string length: 1
rejection_reason
string

Why the application is rejected, up to 500 characters. With stage_id, the stage must be in the complete_unsuccessful category. Without stage_id, it replaces the reason of an application already in such a stage.

Required string length: 1 - 500

Response

The updated application.

A candidate's application to a job. stage is read from your company's application stages only: it is null when the application has no stage yet.

object
string
required

Always "application".

Allowed value: "application"
id
string
required

The application's id. The same id the earlier API uses.

Example:

"e7a3c1f0-9b2d-4c8e-a6f5-3d1b0c9e8f72"

candidate_id
string
required
job_id
string
required
external_id
string | null
required

The application's id in your ATS, such as a submission id.

stage
object | null
required

The application's current stage. null when it has no stage yet.

current_round
object | null
required

A round of a job's workflow.

rounds
object[]
required

Progress through each round up to and including current_round, in order. Empty when there is no current round.

rejection_reason
string | null
required

Why the application was rejected, when a reason was given.

rejected_at
string<date-time> | null
required

When the application was rejected.

withdrawn
boolean
required

true once the candidate withdrew, for example by opting out of contact.

custom_fields
object
required

Stored custom field values, by custom field key (see GET /custom-fields). A field with no stored value is left out. A field read live from your ATS (type: ats_field) is never stored, so it never appears here.

Example:
created_at
string<date-time>
required

When the application was created.

updated_at
string<date-time>
required

The latest change to the application, its stage, or any of its interviews or handoffs. updated_since filters on this.