cURL
curl "https://api.alex.com/v2/candidates/5d2c7a90-1f4e-4b6a-8c3d-9e0f1a2b3c4d" \
-H "X-API-Key: $ALEX_API_KEY"import requests
url = "https://api.alex.com/v2/candidates/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.alex.com/v2/candidates/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.alex.com/v2/candidates/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.alex.com/v2/candidates/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.alex.com/v2/candidates/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alex.com/v2/candidates/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"object": "candidate",
"id": "5d2c7a90-1f4e-4b6a-8c3d-9e0f1a2b3c4d",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "[email protected]",
"phone": "+14155550123",
"external_id": "CAND-881",
"do_not_contact": false,
"deleted_in_ats": false,
"custom_fields": {},
"created_at": "2026-11-28T09:30:00.000Z",
"updated_at": "2026-11-30T14:05:12.000Z",
"resume_url": "https://storage.alex.com/resumes/5d2c7a90.pdf?signature=..."
}
Candidates
Get a candidate
Returns a candidate, with a short-lived link to their résumé. A candidate deleted in your ATS is returned too, with deleted_in_ats: true.
GET
/
candidates
/
{id}
cURL
curl "https://api.alex.com/v2/candidates/5d2c7a90-1f4e-4b6a-8c3d-9e0f1a2b3c4d" \
-H "X-API-Key: $ALEX_API_KEY"import requests
url = "https://api.alex.com/v2/candidates/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.alex.com/v2/candidates/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.alex.com/v2/candidates/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.alex.com/v2/candidates/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.alex.com/v2/candidates/{id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alex.com/v2/candidates/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"object": "candidate",
"id": "5d2c7a90-1f4e-4b6a-8c3d-9e0f1a2b3c4d",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "[email protected]",
"phone": "+14155550123",
"external_id": "CAND-881",
"do_not_contact": false,
"deleted_in_ats": false,
"custom_fields": {},
"created_at": "2026-11-28T09:30:00.000Z",
"updated_at": "2026-11-30T14:05:12.000Z",
"resume_url": "https://storage.alex.com/resumes/5d2c7a90.pdf?signature=..."
}
Authorizations
apiKeyAuthbearerAuth
Response
The candidate.
null when the candidate has no real email, only a placeholder.
Example: