Retrieves a paginated list of customers for a corporation with optional filtering and search capabilities.
Query parameters
The unique identifier for the corporation
Pagination cursor for fetching the next page of results
Maximum number of customers to return (max: 100)
Filter customers by exact name match
Search customers by name (partial match)
Comma-separated list of source platforms to filter by
Comma-separated list of source platform IDs to filter by
Comma-separated list of fields to include in response. Options: shipping_address, exemption_metadata
Exemption filters
Comma-separated list of certificate types to filter by
Filter by exemption jurisdiction
Filter by certificate expiration status
Filter by exemption status
Filter customers by whether they have exemptions
Response
Array of customer objects
Unique identifier for the customer
The corporation ID this customer belongs to
Unix timestamp of when the customer was created
Source platform identifier (if applicable)
Source platform name (if applicable)
Customer’s shipping address (included when extend=shipping_address)Show shipping_address properties
ISO 3166 2-letter country code
Exemption information (included when extend=exemption_metadata)
Total number of customers matching the query
Pagination cursor for the next page (if more results exist)
GET /customers?corporation_id=corp_123&limit=20&extend=shipping_address&search_term=acme
{
"customers": [
{
"id": "cust_789",
"name": "Acme Corporation",
"email": "contact@acme.com",
"corporation_id": "corp_123",
"created_at": 1706000000,
"shipping_address": {
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"country": "US"
}
}
],
"total_customers": 1,
"cursor": null
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier for a corporation used to filter the relevant customer base.
Number of items to return per page
Required range: 1 <= x <= 100
List of customers associated with the requesting corporation
Example:"Successfully fetched customers."