curl --request GET \
--url https://api.coverwhale.dev/v1/list-accounts \
--header 'Accept: <accept>' \
--header 'AccessToken: <api-key>' \
--header 'Content-Type: <content-type>'import requests
url = "https://api.coverwhale.dev/v1/list-accounts"
headers = {
"Content-Type": "<content-type>",
"Accept": "<accept>",
"AccessToken": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': '<content-type>', Accept: '<accept>', AccessToken: '<api-key>'}
};
fetch('https://api.coverwhale.dev/v1/list-accounts', 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.coverwhale.dev/v1/list-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"AccessToken: <api-key>",
"Content-Type: <content-type>"
],
]);
$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.coverwhale.dev/v1/list-accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
req.Header.Add("AccessToken", "<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.coverwhale.dev/v1/list-accounts")
.header("Content-Type", "<content-type>")
.header("Accept", "<accept>")
.header("AccessToken", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coverwhale.dev/v1/list-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = '<content-type>'
request["Accept"] = '<accept>'
request["AccessToken"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"submissions": [
{
"submission_id": "248131581577",
"status": "Bound",
"dot_number": "1234567",
"insured_name": "EXAMPLE TRUCKING LLC",
"effective_date": "2026-03-01",
"expiration_date": "2027-03-01",
"endorsement_count": 3,
"policies": [
{
"coverage": "AL",
"policy": "CWAL0012345"
}
]
}
],
"pagination": {
"returned": 500,
"has_more": true,
"guidance": "This call returned greater than 500 rows. Call again with a narrower effective_from / effective_to date range."
}
}{
"message": "Unauthorized"
}{
"error": "Unable to resolve caller company"
}{
"message": "The effective to must be the same as or after effective from.",
"errors": {
"effective_to": [
"The effective to must be the same as or after effective from."
]
}
}{
"error": "Rate limit exceeded. Temporarily banned.",
"retry_after": 3600,
"retry_after_human": "1 hour",
"scope": "book"
}List Agency Accounts
Pull your agency’s whole active book of business in one call — every policy currently inside its term, with its status, the insured, the term dates, how many changes it has had, and the policy number for each line of coverage. Use this instead of asking about one policy at a time when you need to reconcile your book or discover policies your system does not already know about. For how large your book is by month, rather than a list of its policies, use List Agency Accounts Summary.
Results cover your own agency only. A caller from another agency is indistinguishable from an agency with no policies: both get 200 with an empty submissions array. There is no 404 on this endpoint.
What counts as in your book
With no date parameters, a policy is returned when today falls inside its term (the expiration date itself counts as inside) and its latest settled transaction is bound, approved for cancellation, or cancelled.
Sending a date window replaces that in-force test rather than narrowing it — see Books larger than one page below.
Cancelled policies are returned while still inside their term — read status to tell them apart rather than assuming everything listed is live. A policy with changes still in progress is reported at its last settled status, so an unfinished endorsement never hides a policy from the list.
status is one of three values:
| Value | Meaning |
|---|---|
Bound | In force, no cancellation approved. |
Request to Cancel | Cancellation approved but not yet executed — not “someone asked to cancel”. |
Canceled | Cancellation executed; the policy is still inside its term. |
A cancellation that has been requested but not yet approved is not visible here: that policy is still reported as Bound. Do not infer a pending cancellation from this endpoint.
Books larger than one page
Up to 500 policies are returned per call, newest term start first. There is no page, limit, per_page or cursor parameter — sending one has no effect. When has_more is true, call again with a narrower effective_from / effective_to window, which pagination.guidance also tells you in words.
Both bounds must be sent together. A request carrying only effective_from, or only effective_to, is rejected with 422 — a one-sided window is refused rather than silently widened.
A window replaces the in-force-today test; it does not narrow it. A windowed call returns every policy whose term starts inside the window, including policies whose term has already expired and policies whose term starts in the future. So to rebuild your live book from windowed calls, discard any policy whose expiration_date is earlier than today. If your windows overlap, the same policy comes back in both — de-duplicate on submission_id.
has_more is a true JSON boolean, not the "Y"/"N" used for insurance answers elsewhere in this API.
Two fields worth reading carefully
endorsement_count counts every transaction after the original binding — endorsements, cancellations, reinstatements and renewals, whether or not they completed. It does not count the original new business. The transactions endpoint publishes a field of the same name that counts something narrower (bound endorsements only), so the two will not agree. For a policy that moved to your agency part-way through its life, this count covers only the part of its life spent in your book.
Dates are ISO YYYY-MM-DD on this endpoint, both in the query parameters and in the response — not the MM/DD/YYYY used by the quote and bind endpoints.
curl --request GET \
--url https://api.coverwhale.dev/v1/list-accounts \
--header 'Accept: <accept>' \
--header 'AccessToken: <api-key>' \
--header 'Content-Type: <content-type>'import requests
url = "https://api.coverwhale.dev/v1/list-accounts"
headers = {
"Content-Type": "<content-type>",
"Accept": "<accept>",
"AccessToken": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': '<content-type>', Accept: '<accept>', AccessToken: '<api-key>'}
};
fetch('https://api.coverwhale.dev/v1/list-accounts', 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.coverwhale.dev/v1/list-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"AccessToken: <api-key>",
"Content-Type: <content-type>"
],
]);
$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.coverwhale.dev/v1/list-accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
req.Header.Add("AccessToken", "<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.coverwhale.dev/v1/list-accounts")
.header("Content-Type", "<content-type>")
.header("Accept", "<accept>")
.header("AccessToken", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coverwhale.dev/v1/list-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = '<content-type>'
request["Accept"] = '<accept>'
request["AccessToken"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"submissions": [
{
"submission_id": "248131581577",
"status": "Bound",
"dot_number": "1234567",
"insured_name": "EXAMPLE TRUCKING LLC",
"effective_date": "2026-03-01",
"expiration_date": "2027-03-01",
"endorsement_count": 3,
"policies": [
{
"coverage": "AL",
"policy": "CWAL0012345"
}
]
}
],
"pagination": {
"returned": 500,
"has_more": true,
"guidance": "This call returned greater than 500 rows. Call again with a narrower effective_from / effective_to date range."
}
}{
"message": "Unauthorized"
}{
"error": "Unable to resolve caller company"
}{
"message": "The effective to must be the same as or after effective from.",
"errors": {
"effective_to": [
"The effective to must be the same as or after effective from."
]
}
}{
"error": "Rate limit exceeded. Temporarily banned.",
"retry_after": 3600,
"retry_after_human": "1 hour",
"scope": "book"
}