Skip to content

List customers

Returns the customers of your account, the newest first.

GET /v1/customers

Use cases

  • Find the customer that has the ID of a user in your own system, before you create the customer.
  • Find a customer from the email address that the customer sends to your support team.
  • Copy every customer into your own system, one page at a time.

Authentication

Send an API key. This endpoint requires the scope customers:read. See Authentication and Scopes.

Customers belong to your account, not to one product. An integration that is limited to one product can list every customer. See Product.

Request

Query parameters

ParameterTypeRequiredDescription
external_refstringNoA whole external reference. The list holds the customer that has this reference. Upper case and lower case are different, so ACME-1 and acme-1 are two references. An unknown reference answers an empty list.
emailstringNoA whole email address. The list holds the customers that have this address. Upper case and lower case are the same. An unknown address answers an empty list.
qstringNoA search term. It matches a part of the customer ID, of the external reference, of the first name, of the last name and of the email address.
cursorstringNoThe value of next_cursor from the previous page. See Pagination.

A customer must match every parameter that the request sends.

Headers

HeaderRequiredDescription
AuthorizationYesThe word Bearer, a space and the API key.

Response

The answer has the status 200.

FieldTypeDescription
customersarray of objectsThe customers on this page. See Customer.

The answer also has the fields total and next_cursor. See Pagination.

Customer

FieldTypeDescription
idstringThe ID of the customer.
external_refstringThe ID of the customer in your own system. See References.
emailstring or nullThe email address of the customer.
first_namestring or nullThe first name of the customer.
last_namestring or nullThe last name of the customer.
created_atstringThe time when the customer was created.
updated_atstringThe time when the customer was last changed.

Errors

StatusReasonDescription
400The submitted details are not valid.A query parameter is not valid. The errors field names it. See the table below.
400The customer cursor is not valid.No customer in your account has the ID in cursor.
401An API key is required.The request has no Authorization header, the header is empty, or the header does not use the Bearer scheme.
401The API key is not valid.No integration has this key.
401The API key has expired.The expiry date of the key has passed.
403This integration does not have the customers:read scope.The integration has neither customers:read nor customers:write.
429There are too many requests. Try again later.See Rate limits.

These fields can be in errors:

FieldDescription
external_refThe reference is empty or too long.
emailThe email address is empty or too long.
qThe search term is too long.
cursorThe value is not an ID, or no customer in your account has this ID.

See Errors.

Example

curl "https://api.seatify.dev/v1/customers?external_ref=$EXTERNAL_REF" \
  -H "Authorization: Bearer $SEATIFY_API_KEY"

The answer:

{
  "customers": [
    {
      "id": "<customer id>",
      "external_ref": "usr_000200",
      "email": "katya.pereira199@meridian.example",
      "first_name": "Katya",
      "last_name": "Pereira",
      "created_at": "2025-08-22T23:00:00Z",
      "updated_at": "2025-08-22T23:00:00Z"
    }
  ],
  "total": 1,
  "next_cursor": null
}