---
title: "Get customer by user profile ID."
method: GET
path: "/v1/customers/{id}"
tags: ["customers"]
---

# Get customer by user profile ID.

`GET /v1/customers/{id}`

Get a customer by user profileID with joined data from user_profile, account_relationships, and account tables.

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string, required

## Response `200`

OK

- CustomerView — Customer information with joined account data.
  - `id` string, required — The user profile ID.
  - `name` string, required — The account name.
  - `email` string, required — The customer email.
  - `created_at` string, required — The creation timestamp.
  - `stripe_customer_id` string, nullable — The Stripe customer ID.
  - `active_subscription` string, nullable — The active subscription ID.
  - `github_user_name` string, nullable — The GitHub username.
  - `active_account` string, nullable — The active account ID.

## Other responses

- `404` — Customer not found.

## Changes

- **2025-11-05** `63df0e3eb49d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/runloopai/apis/runloop-api/changes/v1/customers/:id/get.md)

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/63df0e3eb49d/schema)
