---
title: "Create Client"
method: POST
path: "/clients"
tags: ["Clients"]
---

# Create Client

`POST /clients`

## Request

- Base URL: `https://timelodge.com/api/v1`
- URL: `https://timelodge.com/api/v1/clients`
- Auth: HTTP bearer

Requires `clients:write` and a unique idempotency key.

## Headers

- `Idempotency-Key` string, required

## Request body

- ClientWrite
  - `display_name` string, nullable, required
  - `legal_name` string, nullable
  - `internal_code` string, nullable
  - `currency` string, nullable
  - `billing_address` union
    - object
    - string
  - `tax_number` string, nullable
  - `locale` string, nullable
  - `notes` string, nullable

## Response `201`

The resource was created.

- ClientResponse
  - `data` Client, required
    - `id` integer, nullable
    - `display_name` string, nullable
    - `legal_name` string, nullable
    - `internal_code` string, nullable
    - `currency` string, nullable
    - `billing_address` union
      - object
      - string
    - `tax_number` string, nullable
    - `locale` string, nullable
    - `notes` string, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `version` string: Opaque representation version used for optimistic concurrency.

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid token.
- `403`: The token lacks the required scope.
- `409`: Idempotency conflict or request in progress.
- `422`: Validation failed.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/timelodge/apis/timelodge-api.md) · [All operations](https://skmtc.dev/timelodge/apis/timelodge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/timelodge/apis/timelodge-api/revisions/9072baafaa20?raw)
