Skip to main content
GET
/
customers
List all customers
curl --request GET \
  --url https://api.flatpeak.com/customers \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "url": "/customers",
  "has_more": true,
  "data": [
    {
      "id": "cus_65e421d1daa4a24082b4f590",
      "object": "customer",
      "live_mode": true,
      "reference_id": "CUS1234567890",
      "locations": [
        "loc_641b90b758fb8e6293716e40"
      ],
      "time_created": "2021-05-05T05:37:27Z",
      "account_id": "acc_65e421bed29d88d9012e0662"
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

ending_before
string
limit
integer
starting_after
string
reference_id
string

Response

object
string
Example:
url
string
Example:
has_more
boolean
data
Customer · object[]