---
title: "List all customers"
method: GET
path: "/v2/customers"
tags: ["Customers"]
---

# List all customers

`GET /v2/customers`

Returns a list of your customers. The customers are returned sorted by creation date by default, with the most recent customers appearing first.

## Query parameters

- `min_created` integer
- `max_created` integer
- `order_by` '-created_at' | 'created_at'
- `limit` integer
- `starting_after` string
- `ending_before` string

## Response `200`

Returns a list of your customers. The customers are returned sorted by creation date by default, with the most recent customers appearing first.

- object
  - `data` object, required
    - `has_more` boolean
    - `items` object[]
      - `created_at` integer — Immutable Unix timestamp in milliseconds taken at time of creation
      - `key` string — Unique key of this customer
      - `updated_at` integer — Unix timestamp in milliseconds taken at time of last update
      - `archived` boolean — The boolean flag which determines if the customer is archived or not
      - `company` object — Base schema representation of a company
        - `key` string — Unique key of this company
        - `name` string — The name of this company
      - `country_iso` string, nullable — The abbreviated name of the customer's country of origin
      - `customer_key` string, nullable — The key provided by the company to identify the customer
      - `has_paid` boolean — The boolean flag which determines if the customer has paid or not
      - `partnership_key` string — Unique key of this partnership
      - `shared_id` string, nullable — The shared id of the customer
      - `sub_ids` string[]
    - `total` integer, nullable
  - `message` string, required
  - `status` integer, required

## Other responses

- `400` — Bad Request Error
- `401` — Unauthorized Error
- `403` — Forbidden Error
- `404` — Not Found Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/partnerstack/apis/partnerstack-api.md) · [All operations](https://skmtc.dev/partnerstack/apis/partnerstack-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/partnerstack/partnerstack-api/revisions/0f35aebe53a9/schema)
