---
title: "Retrieve a client"
method: GET
path: "/clients/{id}"
tags: ["Clients"]
---

# Retrieve a client

`GET /clients/{id}`

## Request

- Base URL: `https://api.soraban.com`
- URL: `https://api.soraban.com/clients/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/soraban/apis/soraban-private-api/docs/clients/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

The client.

- Client
  - `id` integer
  - `email` string, nullable
  - `fname` string, nullable
  - `lname` string, nullable
  - `full_name` string, nullable
  - `time_zone` string, nullable
  - `phone_number` string, nullable
  - `preferred_name` string, nullable
  - `created_at` string, date-time
  - `last_activity_at` string, date-time, nullable
  - `preferred_sign_in_method` string, nullable
  - `active` boolean, nullable: False for a client marked inactive.
  - `work_phone_number` string, nullable
  - `work_phone_extension` string, nullable
  - `work_email` string, nullable
  - `external_user_id` string, nullable
  - `entities` ClientEntityMembership[]
    - `entity_id` integer
    - `entity_name` string, nullable
    - `entity_type` string, nullable
    - `external_entity_id` string, nullable
    - `role` string, nullable
    - `firm_role_id` integer, nullable
    - `tags` EntityTag[]: Tags as objects.
      - `id` integer
      - `name` string
  - `assigned_advisor_id` integer, nullable: Only present for firms on the older contact management model.
  - `assigned_advisor` string, nullable: Only present for firms on the older contact management model.

## Other responses

- `403`: Missing or invalid API key, or the record does not belong to your firm.
- `422`: The request was understood but rejected. See `error` for the reason.

---

[API](https://skmtc.dev/soraban/apis/soraban-private-api.md) - [All operations](https://skmtc.dev/soraban/apis/soraban-private-api/llms.txt) - [OpenAPI document](https://skmtc.dev/soraban/apis/soraban-private-api/revisions/1c230fa547ad?raw)
