cURL
curl "https://api.alex.com/v2/applications/e7a3c1f0-9b2d-4c8e-a6f5-3d1b0c9e8f72/messages" \
-H "X-API-Key: $ALEX_API_KEY"import requests
url = "https://api.alex.com/v2/applications/{id}/messages"
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/applications/{id}/messages', 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}/messages",
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/applications/{id}/messages"
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/applications/{id}/messages")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alex.com/v2/applications/{id}/messages")
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": "list",
"data": [
{
"object": "message",
"id": "message:8812",
"channel": "email",
"direction": "outbound",
"status": "sent",
"subject": "Your interview with Acme",
"body_preview": "Hi Ada, thanks for applying to Senior Backend Engineer. Your interview link is below...",
"sent_at": "2026-11-28T09:30:00.000Z"
}
],
"has_more": false,
"next_cursor": null
}Applications
List an application's messages
Lists the emails, texts and WhatsApp messages sent to or received from the candidate on this application, oldest first.
GET
/
applications
/
{id}
/
messages
cURL
curl "https://api.alex.com/v2/applications/e7a3c1f0-9b2d-4c8e-a6f5-3d1b0c9e8f72/messages" \
-H "X-API-Key: $ALEX_API_KEY"import requests
url = "https://api.alex.com/v2/applications/{id}/messages"
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/applications/{id}/messages', 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}/messages",
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/applications/{id}/messages"
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/applications/{id}/messages")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alex.com/v2/applications/{id}/messages")
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": "list",
"data": [
{
"object": "message",
"id": "message:8812",
"channel": "email",
"direction": "outbound",
"status": "sent",
"subject": "Your interview with Acme",
"body_preview": "Hi Ada, thanks for applying to Senior Backend Engineer. Your interview link is below...",
"sent_at": "2026-11-28T09:30:00.000Z"
}
],
"has_more": false,
"next_cursor": null
}Authorizations
apiKeyAuthbearerAuth
Query Parameters
Response
A page of messages.
A page of messages.