Carriers
List carrier notes
List a carrier’s internal notes, oldest first, including notes added in Alvys and through the API.
GET
/
api
/
p
/
v
{version}
/
carriers
/
{carrierId}
/
notes
List carrier notes
curl --request GET \
--url https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes",
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://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes"
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://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes")
.header("Authorization", "Bearer <token>")
.asString();[
{
"Id": "<string>",
"Description": "<string>",
"NoteType": "<string>",
"CreatedAt": "2023-11-07T05:31:56Z",
"CreatedBy": "<string>",
"CreatedById": "<string>"
}
]{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}The List Carrier Notes endpoint returns a carrier’s notes in the order they are stored, oldest first. It includes notes added in Alvys and notes added with Add carrier note. For more information on how versioning works and how to include it in your requests, please refer to the Versioning page.
A field with no value is left out of the note. Notes added in Alvys have no
This endpoint requires the
carrier:read scope. See Authentication.Request parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | String | Yes | API version to use. |
| carrierId | path | String | Yes | The carrier’s Id, as returned by Search carriers. |
Response
200 OK with an array of notes. A carrier with no notes returns an empty array.
| Name | Type | Description |
|---|---|---|
| Id | string | The note’s id. |
| Description | string | The note text. |
| NoteType | string | General for notes added through the API. Left out for notes added in Alvys. |
| CreatedAt | string | When the note was added (ISO 8601). |
| CreatedBy | string | Who added the note. |
| CreatedById | string | The id of who added the note. |
NoteType, and older notes can lack Id, Description or CreatedBy, so handle every field as optional.
Errors
| Status | When |
|---|---|
401 Unauthorized | The access token is missing, invalid or expired. |
403 Forbidden | Your credential does not have the carrier:read scope. |
404 Not Found | The carrier does not exist, was deleted, or is an owner-operator. |
429 Too Many Requests | You are rate limited. See Rate limits. |
Example cURL request
curl --location --request GET 'https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Example response (200 OK)
[
{
"Id": "9c1e7b2d4a6f4e8b9d0c1a2b3c4d5e6f",
"Description": "Insurance renewal confirmed for next year.",
"CreatedAt": "2026-11-18T14:22:05+00:00",
"CreatedBy": "Jane Doe",
"CreatedById": "0a1b2c3d4e5f60718293a4b5c6d7e8f9"
},
{
"Id": "3f6d2a1c9b8e4f0a8d7c6b5a4e3d2c1b",
"Description": "Prefers loads out of Dallas. Call dispatch before 9 AM.",
"NoteType": "General",
"CreatedAt": "2026-12-02T15:04:11+00:00",
"CreatedBy": "Example Integration",
"CreatedById": "a1b2c3d4e5f60718293a4b5c6d7e8f90"
}
]
Rate limits
All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information, see the Rate Limits section.Authorizations
OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.
Path Parameters
⌘I
List carrier notes
curl --request GET \
--url https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes",
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://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes"
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://integrations.alvys.com/api/p/v{version}/carriers/{carrierId}/notes")
.header("Authorization", "Bearer <token>")
.asString();[
{
"Id": "<string>",
"Description": "<string>",
"NoteType": "<string>",
"CreatedAt": "2023-11-07T05:31:56Z",
"CreatedBy": "<string>",
"CreatedById": "<string>"
}
]{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}{
"Type": "<string>",
"Title": "<string>",
"Status": 123,
"Detail": "<string>",
"Instance": "<string>"
}