Customers
List customers
Lists your customers, newest first. Page with limit + starting_after (pass the last customer’s id). Customers deleted in the Taxwire app are left out. Each customer includes its read-only exemption block.
GET
/
customers
List Customers
curl --request GET \
--url https://api.taxwire.com/customers \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.taxwire.com/customers"
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.taxwire.com/customers', 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.taxwire.com/customers",
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.taxwire.com/customers"
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.taxwire.com/customers")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.taxwire.com/customers")
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{
"has_more": true,
"object": "list",
"url": "/customers",
"data": [
{
"id": "cust_01J9Z8Q4E7K2M3N4P5R6S7T8U9",
"source_id": "CUS-1042",
"source": "taxwire",
"source_account_id": "__default__",
"created_at": "2026-09-14T20:00:00Z",
"updated_at": "2026-09-14T20:00:00Z",
"exemption": {
"overrides": {
"exempt": true,
"resale": true,
"manufacturing": true
},
"jurisdictions": [
{
"jurisdiction": "USA.S-CA",
"jurisdiction_name": "California",
"exemption_type": "resale",
"status": "valid",
"starts_at": "2025-04-01",
"certificate_id": "cexc_01J9Z8Q4E7K2M3N4P5R6S7T8U9",
"exemption_type_other": null,
"expires_at": "2027-03-31"
}
],
"updated_at": "2026-09-14T20:00:00Z"
},
"name": "Acme Wholesale",
"email": "ap@acme.example",
"merged_into_customer_id": "cust_01J9ZC4D7F2G8H3J5K6L9M1N0P",
"source_updated_at": "2026-09-14T19:58:12Z"
}
]
}{
"errors": [
{
"status": "422",
"code": "validation_required_field",
"title": "Missing source_id",
"detail": "Please provide a value for the required source_id field",
"source": {
"pointer": "/data/attributes/source_id"
}
}
]
}{
"errors": [
{
"status": "429",
"code": "rate_limit_error",
"title": "Too Many Requests",
"detail": "Rate limit exceeded"
}
]
}{
"errors": [
{
"status": "500",
"code": "system_internal_error",
"title": "Internal Error",
"detail": "An unexpected error occurred. Our team has been notified."
}
]
}This endpoint has no filters yet. To find a customer, page through the whole list and filter on your side.
Authorizations
APIKeyHeaderHTTPBearer
Query Parameters
Page size, between 1 and 1000.
Required range:
1 <= x <= 1000Return customers after this one. Pass the id of the last customer from the previous page to fetch the next page.
⌘I
List Customers
curl --request GET \
--url https://api.taxwire.com/customers \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.taxwire.com/customers"
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.taxwire.com/customers', 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.taxwire.com/customers",
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.taxwire.com/customers"
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.taxwire.com/customers")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.taxwire.com/customers")
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{
"has_more": true,
"object": "list",
"url": "/customers",
"data": [
{
"id": "cust_01J9Z8Q4E7K2M3N4P5R6S7T8U9",
"source_id": "CUS-1042",
"source": "taxwire",
"source_account_id": "__default__",
"created_at": "2026-09-14T20:00:00Z",
"updated_at": "2026-09-14T20:00:00Z",
"exemption": {
"overrides": {
"exempt": true,
"resale": true,
"manufacturing": true
},
"jurisdictions": [
{
"jurisdiction": "USA.S-CA",
"jurisdiction_name": "California",
"exemption_type": "resale",
"status": "valid",
"starts_at": "2025-04-01",
"certificate_id": "cexc_01J9Z8Q4E7K2M3N4P5R6S7T8U9",
"exemption_type_other": null,
"expires_at": "2027-03-31"
}
],
"updated_at": "2026-09-14T20:00:00Z"
},
"name": "Acme Wholesale",
"email": "ap@acme.example",
"merged_into_customer_id": "cust_01J9ZC4D7F2G8H3J5K6L9M1N0P",
"source_updated_at": "2026-09-14T19:58:12Z"
}
]
}{
"errors": [
{
"status": "422",
"code": "validation_required_field",
"title": "Missing source_id",
"detail": "Please provide a value for the required source_id field",
"source": {
"pointer": "/data/attributes/source_id"
}
}
]
}{
"errors": [
{
"status": "429",
"code": "rate_limit_error",
"title": "Too Many Requests",
"detail": "Rate limit exceeded"
}
]
}{
"errors": [
{
"status": "500",
"code": "system_internal_error",
"title": "Internal Error",
"detail": "An unexpected error occurred. Our team has been notified."
}
]
}