# Create a client

> `POST` `/v1/clients`

URL: https://www.agencytitan.com/docs/tag/clients/POST/v1/clients

Operation ID: `clients_create`

Tag: [clients](https://www.agencytitan.com/docs/tag/clients.md)

## Description

Creates a client under the given client profile. `name` becomes the client_name field; optional `field_values` set custom fields (defaults are applied for any omitted fields, and required custom fields must be satisfied). Returns the full created client.

## Parameters

_None_

## Request body

- Required: yes
- Content-Type: `application/json`
  - Type: `object`
  - Properties:
    - `assigned_to` (`array<string>`) — User ids to assign to the client (see List users).
    - `field_values` (`object`) — Custom field values keyed by field_key. List the profile's field definitions via GET /v1/fields to see the available ke…
    - `name` (`string`, required) — Client name.
    - `profile_id` (`string`, required) — Client profile to create the client under. List profiles via GET /v1/client-profiles.

## Responses

- `200` (`application/json`): Successful response.
  - Type: `object`
  - Properties:
    - `data` (`object`, required)
- `400` (`application/json`): Request validation failed (unknown or out-of-range parameters/properties are rejected).
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `401` (`application/json`): Missing, invalid, expired, or revoked bearer token.
  - Type: `object`
  - Properties:
    - `error` (`string`, required)
    - `error_description` (`string`, required)
- `403` (`application/json`): The authenticated user does not have permission for this operation.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `404` (`application/json`): The requested resource was not found.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `409` (`application/json`): The request conflicts with an existing record or partially applied.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `429` (`application/json`): Per-tenant rate limit exceeded (600 requests/minute across all /v1 REST endpoints). The Retry-After header indicates how many seconds to wait.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `500` (`application/json`): An unexpected internal error occurred.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)

## Authentication

- `bearerAuth` — http (bearer) — All /v1 endpoints (except `/v1/openapi.json` and `/v1/llms.txt`) require a bearer token. Two equal first-class paths: (1) an OAuth 2.0 access token from the au…

## Useful links

- Interactive page: https://www.agencytitan.com/docs/tag/clients/POST/v1/clients
- API reference home: https://www.agencytitan.com/docs/
- Tag page: https://www.agencytitan.com/docs/tag/clients.md
- This operation as Markdown: https://www.agencytitan.com/docs/tag/clients/POST/v1/clients.md
- OpenAPI JSON: https://www.agencytitan.com/docs/openapi.json
- Full API Markdown: https://api.agencytitan.com/v1/llms.txt
- API keys: https://app.agencytitan.com/settings/api-mcp
