Skip to main content
POST
cURL

What a cancel does

Cancelling a handoff cancels its interview, the same way the dashboard’s Cancel Interview does:
  1. The interview’s workflows stop and its scheduled calls are cancelled.
  2. The interview session closes as cancelled.
  3. The handoff is cancelled. A booked meeting comes off the recruiter’s calendar and the candidate is told.
  4. The candidate’s Activity thread records that the API cancelled it.
handoff.cancelled is emitted when the handoff’s status changes.

Reading the response

The response is the handoff as it now is. If the meeting completed, or the candidate booked it, in the moment before the cancel landed, the handoff keeps that status: check status rather than assuming cancelled. A 500 handoff_cancel_failed means the interview was cancelled but the handoff’s own cancel failed. Send the request again: only the handoff’s cancel runs. The body must be empty or {}.

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

Body

application/json

No fields. Send no body, or {}.

Response

The handoff, after the cancel.

A human interview round's hand-off of the candidate to a recruiter for a meeting.

object
string
required

Always "handoff".

Allowed value: "handoff"
id
string
required
application_id
string
required
round
object
required

A round of a job's workflow.

status
enum<string>
required

pending: waiting for the candidate to book. scheduled: booked. completed: the meeting happened. missed: the meeting was missed. cancelled: cancelled.

Available options:
pending,
scheduled,
completed,
missed,
cancelled
scheduled_at
string<date-time> | null
required

When the meeting is booked for.

meeting_url
string<uri> | null
required

The booked meeting's link.

interviewer_user_ids
string[]
required

Once booked, the recruiter the meeting is with. Before that, every recruiter it may be booked with.

missed_reason
enum<string> | null
required

Set only on a missed meeting whose absent side is known.

Available options:
candidate_no_show,
recruiter_no_show,
null
created_at
string<date-time>
required

When it was created.

updated_at
string<date-time>
required

The latest change to the handoff or its booked meeting. updated_since filters on this.