Customers

List customers

Returns the customers of the authenticated company, newest first, with optional name search. Without page and limit the full list is returned; sending either one returns that page instead. The response stays a plain array either way.

get/customers

Request

  • Base URL
    https://api3.autarc.energy/v1
  • Auth
    API key in header X-Api-Key

Query parameters

searchstring

Case-insensitive partial match against first name, last name, or full name.

pageinteger

Page number to fetch (1-based). Defaults to 1 when limit is sent.

limitinteger

Page size. Defaults to 100 (max 300) when page is sent; omit both for the full list.

Response

OK

idstring uuid
firstNamestring
lastNamestring
companyIdstring uuid
humanIdstring nullable
createdAtstring date-time
updatedAtstring date-time
emailstring email nullable
invoiceEmailstring email nullable
phoneNumberstring nullable
isCompanyboolean
companyNamestring nullable
availability'morning' | 'afternoon' | 'evening' | 'weekend_only' | 'flexible'
descriptionstring nullable
websitestring uri nullable

Example response

[
  {
    "address": {
      "addressLine1": "123 Main Street",
      "addressLine2": "Suite 101",
      "postalCode": "12047",
      "city": "Berlin",
      "country": "Deutschland",
      "countryCode": "DE",
      "latitude": 48.6964906,
      "longitude": 13.2635728
    }
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.