Get a client
GET/api/clients/:id
Required permissions:
- crm.view: allows view all resources.
Here the dedicated support page.
Request
Path Parameters
The ID of the client to view
Header Parameters
The company you want to interact with
The API version you want to use
Responses
- 200
- 400
- 401
- 403
- 404
Returns the requested client.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= 1
Possible values: <= 255 characters
Possible values: <= 50 characters
Possible values: <= 80 characters
Possible values: <= 250 characters
Possible values: <= 250 characters
Possible values: <= 80 characters
Possible values: <= 80 characters
Possible values: <= 80 characters
Possible values: <= 80 characters
Possible values: <= 80 characters
Possible values: >= 1
Possible values: <= 320 characters
Possible values: <= 320 characters
Possible values: <= 255 characters
Possible values: <= 250 characters
Declaration of intent date
Possible values: >= 1
Possible values: >= 1
Possible values: >= 1
Possible values: >= 1
{
"id": 1,
"created_at": "2025-04-22T10:10:02.280Z",
"updated_at": "2025-04-22T10:10:02.280Z",
"corporate_name": "First client",
"acronym": "First client acronym",
"email": "example@example.com",
"notes": "Some notes",
"website": "https://example.com",
"linkedin": "https://linkedin.com/in/example",
"description": "A brief description",
"street": "123 Main St",
"zip_code": "12345",
"town": "Townsville",
"country": "United States",
"vat": "123456789",
"payment_condition": "Payment terms",
"group_company": 1,
"sdi_code": "SDI12345",
"pec": "pec@example.com",
"administration_email": "admin@example.com",
"company_registration_number": "1234567890",
"legal_name": "Legal Name",
"intent_code": "Intent Code",
"intent_date": "2024-01-01",
"phone": "123-456-7890",
"tax_reference": "Tax Reference",
"group_id": 1,
"bank_account_id": 1,
"vat_rate_id": 1,
"payment_term_id": 1
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error unique key
Human-readable message describing the error
failures
object[]
List of validation errors
Name of the field causing the error
Human-readable description of the error
{
"key": "invalid_data",
"message": "You provided invalid data. Check 'failures' for details.",
"failures": [
{
"field": "string",
"message": "string"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "not_found",
"message": "string"
}