API Reference
cURL
curl --request GET \ --url https://api.nomos.energy/customers \ --header 'Authorization: Bearer <token>'
{ "object": "list", "items": [ { "object": "customer", "id": "cus_cgxuvguyyxnoufgb8dmd0qr3", "first_name": "John", "last_name": "Doe", "email": "[email protected]", "created_at": "2024-03-14T12:00:00Z", "type": "person" } ] }
Retrieve all customers
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
list
Show child attributes
Type of the object, always 'customer'
customer
Unique identifier for the customer
"cus_cgxuvguyyxnoufgb8dmd0qr3"
Customer's first name
1 - 100
"John"
Customer's last name
"Doe"
Email address
"[email protected]"
Timestamp when the customer was created
"2024-03-14T12:00:00Z"
Type of the customer, always 'person'
person
Was this page helpful?