---
title: "Get a customer by id"
method: GET
path: "/customers/{customerId}"
tags: ["Customers"]
---

# Get a customer by id

`GET /customers/{customerId}`

## Request

- Base URL: `https://api3.autarc.energy/v1`
- URL: `https://api3.autarc.energy/v1/customers/{customerId}`
- Auth: API key in header `X-Api-Key`

## Path parameters

- `customerId` string, required

## Response `200`

OK

- Customer
  - `id` string, uuid
  - `firstName` string
  - `lastName` string
  - `companyId` string, uuid
  - `humanId` string, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `address` Address
    - `addressLine1` string, required
    - `addressLine2` string, nullable
    - `postalCode` string, required
    - `city` string, required
    - `country` string, required
    - `countryCode` string, nullable: The ISO country code.
    - `latitude` number, nullable
    - `longitude` number, nullable
  - `email` string, email, nullable
  - `invoiceEmail` string, email, nullable
  - `phoneNumber` string, nullable
  - `isCompany` boolean
  - `companyName` string, nullable
  - `availability` 'morning' | 'afternoon' | 'evening' | 'weekend_only' | 'flexible'
  - `description` string, nullable
  - `website` string, uri, nullable

## Other responses

- `404`: The specified resource was not found

---

[API](https://skmtc.dev/autarc/apis/autarc-2-0-api.md) - [All operations](https://skmtc.dev/autarc/apis/autarc-2-0-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autarc/apis/autarc-2-0-api/revisions/adfb20a40efc?raw)
