curl -X PATCH "https://api.alex.com/v2/applications/e7a3c1f0-9b2d-4c8e-a6f5-3d1b0c9e8f72/notes/7e5d3c1b-9a8f-4e6d-b2c4-a1f3e5d7c9b0" \
-H "X-API-Key: $ALEX_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"body": "Spoke with the candidate; available from February."
}'import requests
url = "https://api.alex.com/v2/applications/{id}/notes/{note_id}"
payload = { "body": "Spoke with the candidate; available from February." }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({body: JSON.stringify('Spoke with the candidate; available from February.')})
};
fetch('https://api.alex.com/v2/applications/{id}/notes/{note_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/applications/{id}/notes/{note_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'body' => 'Spoke with the candidate; available from February.'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.alex.com/v2/applications/{id}/notes/{note_id}"
payload := strings.NewReader("{\n \"body\": \"Spoke with the candidate; available from February.\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.alex.com/v2/applications/{id}/notes/{note_id}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"body\": \"Spoke with the candidate; available from February.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alex.com/v2/applications/{id}/notes/{note_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"body\": \"Spoke with the candidate; available from February.\"\n}"
response = http.request(request)
puts response.read_body{
"object": "note",
"id": "7e5d3c1b-9a8f-4e6d-b2c4-a1f3e5d7c9b0",
"application_id": "e7a3c1f0-9b2d-4c8e-a6f5-3d1b0c9e8f72",
"body": "Spoke with the candidate; available from February.",
"author": null,
"created_at": "2026-11-30T14:05:12.000Z"
}Edit a note
Replaces a note’s text. Only a note’s author can change it: your API key changes the notes it added, and notes added through the API before keys were recorded; it can’t change a note a person wrote, a note another of your keys added, or a note on another application, which answer 404. A note that came from your ATS answers 403: change it in your ATS. The edited note is sent to your ATS as a new note, since most ATSs can’t change one they hold, and the candidate’s activity records the edit as made through the API. Sending the text the note already has changes nothing.
curl -X PATCH "https://api.alex.com/v2/applications/e7a3c1f0-9b2d-4c8e-a6f5-3d1b0c9e8f72/notes/7e5d3c1b-9a8f-4e6d-b2c4-a1f3e5d7c9b0" \
-H "X-API-Key: $ALEX_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"body": "Spoke with the candidate; available from February."
}'import requests
url = "https://api.alex.com/v2/applications/{id}/notes/{note_id}"
payload = { "body": "Spoke with the candidate; available from February." }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({body: JSON.stringify('Spoke with the candidate; available from February.')})
};
fetch('https://api.alex.com/v2/applications/{id}/notes/{note_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/applications/{id}/notes/{note_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'body' => 'Spoke with the candidate; available from February.'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.alex.com/v2/applications/{id}/notes/{note_id}"
payload := strings.NewReader("{\n \"body\": \"Spoke with the candidate; available from February.\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.alex.com/v2/applications/{id}/notes/{note_id}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"body\": \"Spoke with the candidate; available from February.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alex.com/v2/applications/{id}/notes/{note_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"body\": \"Spoke with the candidate; available from February.\"\n}"
response = http.request(request)
puts response.read_body{
"object": "note",
"id": "7e5d3c1b-9a8f-4e6d-b2c4-a1f3e5d7c9b0",
"application_id": "e7a3c1f0-9b2d-4c8e-a6f5-3d1b0c9e8f72",
"body": "Spoke with the candidate; available from February.",
"author": null,
"created_at": "2026-11-30T14:05:12.000Z"
}404. A note that came from your ATS answers 403 note_from_ats: edit it in your ATS.Authorizations
Headers
A unique value, 1 to 255 characters, that makes the request safe to retry. See Idempotency.
1 - 255Body
Response
The edited note.
A note on one of the application's interviews. author is the person who wrote it, or null for a note added through the API, by a workflow or from your ATS.