---
title: "Create a new entity and user"
method: POST
path: "/clients"
---

# Create a new entity and user

`POST /clients`

Creates a **client user** and their **primary entity**.

## Headers

- `ngrok-skip-browser-warning` string, required

## Request body

- ClientCreate
  - `fname` string, required
  - `lname` string, required
  - `email` string, email, required
  - `assigned_advisor_id` integer, required
  - `company_name` string, nullable — Entity name (Leave blank if individual)
  - `entity_type` string, nullable — Entity Type
  - `phone_number` string, nullable
  - `time_zone` string, nullable

## Response `200`

Client created

- Client
  - `id` integer, required
  - `email` string, email, required
  - `fname` string, required
  - `lname` string, required
  - `full_name` string, nullable
  - `time_zone` string, nullable
  - `phone_number` string, nullable
  - `preferred_name` string, nullable
  - `created_at` string, date-time, required
  - `active` boolean, required — Derived from User#paying
  - `assigned_advisor_id` integer, required
  - `work_phone_number` string, nullable
  - `work_phone_extension` string, nullable
  - `work_email` string, email, nullable
  - `external_user_id` string, nullable
  - `assigned_advisor` string, nullable — Assigned advisor full name (string), not an object

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/soraban/apis/soraban-private-api.md) · [All operations](https://skmtc.net/soraban/apis/soraban-private-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soraban/soraban-private-api/versions/0dfdfa10c993/schema)
