Skip to main content
PATCH
cURL

Status codes

The status code always says what happened. There is no option to answer 200 whatever the outcome: an opt-out that didn’t land has to be retried, not reported as done. If you call this from an ATS webhook that turns itself off after non-2xx responses, put a step in between that retries 5xx responses and drops 404.

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

external_candidate_id
string
required

The candidate's id in your ATS.

Body

application/json
do_not_contact
boolean
required

true stops Talent Match from contacting the candidate.

Response

The updated candidate.

Talent Match's copy of an ATS candidate, keyed by the ATS id. It exists whether or not Alex has a candidate record for them.

object
string
required

Always "talent_match_candidate".

Allowed value: "talent_match_candidate"
external_candidate_id
string
required

The candidate's id in your ATS.

Example:

"48213"

do_not_contact
boolean
required