GET
/
timmi-project
/
api
/
v4
/
clients
/
{id}
Get a Client by id
curl --request GET \
  --url https://{host}/timmi-project/api/v4/clients/{id} \
  --header 'Authorization: <authorization>'
{
  "id": 123,
  "name": "<string>",
  "code": "<string>",
  "externalCode": null,
  "owner": null
}

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer
required

Identifier of the client.

Response

OK

A client must belong to a single organization.

The organizationId field is required upon creation (POST) and cannot be modified later.

name
string
required
Minimum length: 1
code
string
required

Unique code for this client. Used for identifying the client in invoices export if externalCode is null.

Minimum length: 1
id
number
externalCode
string | null

Used for identifying the client in invoices exports. Is not subject to unicity.

owner
object | null