Get thread by ID
curl --request GET \
--url https://inboundr.net/api/v1/threads/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://inboundr.net/api/v1/threads/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://inboundr.net/api/v1/threads/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://inboundr.net/api/v1/threads/{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 => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"threadId": "thr_xyz789",
"data": [
{
"id": "em_abc123",
"direction": "inbound",
"threadId": "thr_xyz789",
"messageId": "<CAEabc...@mail.gmail.com>",
"fromAddress": "customer@example.com",
"toAddresses": ["support@yourdomain.com"],
"subject": "Can you help?",
"spamVerdict": "PASS",
"attachmentCount": 0,
"receivedAt": "2026-07-20T10:30:00.000Z"
},
{
"id": "em_def456",
"direction": "outbound",
"threadId": "thr_xyz789",
"messageId": "<...@email.amazonses.com>",
"fromAddress": "support@yourdomain.com",
"toAddresses": ["customer@example.com"],
"subject": "Re: Can you help?",
"spamVerdict": null,
"attachmentCount": 0,
"receivedAt": "2026-07-20T10:35:00.000Z"
}
]
}
Threads
Get thread by ID
All messages in a conversation, oldest first.
GET
/
api
/
v1
/
threads
/
{id}
Get thread by ID
curl --request GET \
--url https://inboundr.net/api/v1/threads/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://inboundr.net/api/v1/threads/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://inboundr.net/api/v1/threads/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://inboundr.net/api/v1/threads/{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 => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"threadId": "thr_xyz789",
"data": [
{
"id": "em_abc123",
"direction": "inbound",
"threadId": "thr_xyz789",
"messageId": "<CAEabc...@mail.gmail.com>",
"fromAddress": "customer@example.com",
"toAddresses": ["support@yourdomain.com"],
"subject": "Can you help?",
"spamVerdict": "PASS",
"attachmentCount": 0,
"receivedAt": "2026-07-20T10:30:00.000Z"
},
{
"id": "em_def456",
"direction": "outbound",
"threadId": "thr_xyz789",
"messageId": "<...@email.amazonses.com>",
"fromAddress": "support@yourdomain.com",
"toAddresses": ["customer@example.com"],
"subject": "Re: Can you help?",
"spamVerdict": null,
"attachmentCount": 0,
"receivedAt": "2026-07-20T10:35:00.000Z"
}
]
}
Returns every message in a thread as summaries, oldest first. Use
Get email by ID for the full body of any message.
string
required
The thread id (
thr_…).{
"threadId": "thr_xyz789",
"data": [
{
"id": "em_abc123",
"direction": "inbound",
"threadId": "thr_xyz789",
"messageId": "<CAEabc...@mail.gmail.com>",
"fromAddress": "customer@example.com",
"toAddresses": ["support@yourdomain.com"],
"subject": "Can you help?",
"spamVerdict": "PASS",
"attachmentCount": 0,
"receivedAt": "2026-07-20T10:30:00.000Z"
},
{
"id": "em_def456",
"direction": "outbound",
"threadId": "thr_xyz789",
"messageId": "<...@email.amazonses.com>",
"fromAddress": "support@yourdomain.com",
"toAddresses": ["customer@example.com"],
"subject": "Re: Can you help?",
"spamVerdict": null,
"attachmentCount": 0,
"receivedAt": "2026-07-20T10:35:00.000Z"
}
]
}
Returns
404 if the thread has no messages, or isn’t yours.⌘I