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

# List customers

`GET /customers`

Returns a list of customers with pagination and sort.

## Query parameters

- `nextToken` string
- `pageSize` number

## Response `200`

Response for list customers request

- CustomerPaginatedResponse
  - `data` Customer[]
    - `id` string, required — Identifier of customer
    - `togaiCustomerId` string, required — Unique identifier of customer
    - `name` string, required — Name of the Customer
    - `primaryEmail` string, required — Primary email of the customer
    - `billingAddress` string, required — billing address of the customer
    - `address` Address, required — billing address of the customer
      - `phoneNumber` string — Contact number
      - `line1` string — Address line 1 (eg. Street, PO Box, Company Name)
      - `line2` string — Address line 2 (eg. apartment, suite, unit or building)
      - `postalCode` string — ZIP or postal code
      - `city` string — City, district, suburb, town or village
      - `state` string — State, county, province or region
      - `country` string — Two letter country code [ISO-3166-1 Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
    - `status` 'ACTIVE' | 'ARCHIVED', required — Status of the customer
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `nextToken` string
  - `context` PaginationOptions
    - `pageSize` integer
    - `sortOrder` 'ASC' | 'DESC'

## Other responses

- `400` — Error response
- `401` — Error response
- `403` — Error response
- `404` — Error response
- `429` — Error response
- `default` — Error response

---

[API](https://skmtc.net/togaihq/apis/togai-apis.md) · [All operations](https://skmtc.net/togaihq/apis/togai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/togaihq/togai-apis/revisions/442f5d8f4aa0/schema)
