> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adrelay.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Customer

> Retrieve the authenticated customer's account information.

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.adrelay.dev/v1/customer/me" \
    -H "X-API-Key: $ADRELAY_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch("https://api.adrelay.dev/v1/customer/me", {
    headers: { "X-API-Key": process.env.ADRELAY_API_KEY },
  });

  const customer = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.adrelay.dev/v1/customer/me",
      headers={"X-API-Key": "your-api-key-here"},
  )

  customer = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "cust_abc123",
    "email": "dev@example.com",
    "plan": "pro",
    "created_at": "2026-03-01T12:00:00Z",
    "connections_count": 3,
    "stripe_customer_id": "cus_abc123"
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid or missing API key.",
    "code": "UNAUTHORIZED",
    "timestamp": 1711036800,
    "request_id": "req_abc123"
  }
  ```
</ResponseExample>

Returns the account details for the customer associated with the provided API key.
