Get a person
GET/api/persons/:id
Required permissions:
- settings.team: allows view of company persons.
Here the dedicated support page.
Request
Path Parameters
The ID of the employee 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 person.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= 1
Possible values: <= 50 characters
The person email
Possible values: <= 50 characters
The person name
Possible values: <= 50 characters
The person surname
Possible values: <= 50 characters
The person role
Whether the person is archived
Whether the person is visible in people allocation
Whether the person needs to fill in timesheet
Possible values: >= 1
ID of the level to associate with this person
Possible values: >= 1
ID of the price list to associate with this person
Possible values: >= 1
ID of the job title to associate with this person
Possible values: >= 1
ID of the allocation manager to associate with this person
{
"id": 1,
"created_at": "2025-04-22T10:10:02.489Z",
"updated_at": "2025-04-22T10:10:02.489Z",
"email": "john.doe@example.com",
"name": "John",
"surname": "Doe",
"role": "ROLE_USER",
"is_archived": false,
"is_visible_in_people_allocation": true,
"has_timesheet_required": true,
"level_id": 1,
"price_list_id": 1,
"job_title_id": 1,
"allocation_manager_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"
}