Skip to main content
GET
/
customers
Get all customers
curl --request GET \
  --url https://api.nomos.energy/customers \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "items": [
    {
      "object": "customer",
      "id": "cus_gwmkkit7yp7eaiwelm15qwwk",
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "created_at": "2024-03-14T12:00:00Z",
      "type": "person"
    }
  ],
  "next_page": "<string>",
  "has_more": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string | null
limit
number
default:10
Required range: 1 <= x <= 100

Response

Retrieve all customers with cursor pagination

object
enum<string>
required
Available options:
list
items
object[]
required
next_page
string | null
has_more
boolean
default:false