curl --request GET \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}', 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://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"threadId": "7f0c2a1e-4b5d-4c8e-9a71-2d3e4f5a6b7c",
"subject": "Claim update",
"mentionsRecord": false,
"mentions": [],
"messages": [
{
"messageId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d",
"origin": "synced",
"subject": "Claim update",
"sentAt": "2026-02-15T10:00:00.000Z",
"from": {
"address": "alan@law.example",
"name": "Alan Law",
"linkedPersonId": "550e8400-e29b-41d4-a716-446655440010"
},
"to": [
{
"address": "bob@acme.example"
}
],
"cc": [],
"bcc": [],
"snippet": "Photos of the damage are attached.",
"bodyText": "Photos of the damage are attached.",
"internal": false,
"attachments": [],
"foundIn": [
{
"mailboxId": "3c4d5e6f-7a8b-4c9d-8e1f-2a3b4c5d6e7f",
"mailbox": "bob@acme.example",
"folder": "Inbox"
}
],
"openInOutlookUrl": null
}
]
}Get Policy Email Conversation
Reads one conversation on a record: every message the caller may see,
oldest first, with its participants, attachments and the mailboxes that
hold it. A caller without email.view sees only email sent from the
platform.
Answers 404 while email is not turned on for the company.
The policy’s twin of the record route under /entities: policies live
under the policy API.
Required permission: policy.view. email.view shows synced email too.
curl --request GET \
--url https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}', 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://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://go.aiinsurance.io/api/v1/companies/{companyId}/policies/{policyId}/email-conversations/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"threadId": "7f0c2a1e-4b5d-4c8e-9a71-2d3e4f5a6b7c",
"subject": "Claim update",
"mentionsRecord": false,
"mentions": [],
"messages": [
{
"messageId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d",
"origin": "synced",
"subject": "Claim update",
"sentAt": "2026-02-15T10:00:00.000Z",
"from": {
"address": "alan@law.example",
"name": "Alan Law",
"linkedPersonId": "550e8400-e29b-41d4-a716-446655440010"
},
"to": [
{
"address": "bob@acme.example"
}
],
"cc": [],
"bcc": [],
"snippet": "Photos of the damage are attached.",
"bodyText": "Photos of the damage are attached.",
"internal": false,
"attachments": [],
"foundIn": [
{
"mailboxId": "3c4d5e6f-7a8b-4c9d-8e1f-2a3b4c5d6e7f",
"mailbox": "bob@acme.example",
"folder": "Inbox"
}
],
"openInOutlookUrl": null
}
]
}Authorizations
User-principal OAuth 2.0 Bearer authentication. Send a user-scoped Auth0 access token (audience = the app API audience) as Authorization: Bearer <jwt>. The request resolves to the user's identity and is authorized by their Role on the {companyId} in the path — the same role-based permissions the web app enforces. This is the path the MCP connector uses to act on a user's behalf; endpoints that accept it list both BearerAuth and ApiKeyAuth.
Path Parameters
Response
The conversation
One conversation on a record, every message the caller may see, oldest first.
