List all employees
team:employees.readhttps://api.holded.com/api/v2/employeesReturns a paginated list of employees. Results are paginated with `limit` and `cursor` parameters. Default page size is 50, configurable up to 200. When resolving an employee the user named, match against BOTH first name and surname, accent- and case-insensitively, and gather ALL matches — never stop at the first result. If more than one employee matches, present the complete list of matches (name plus email or employee code) and let the user choose; never pick one on your own.
Parameters
Query parameters
stringoptionalServer-side free-text filter over name, surname, email and code, ignoring case and accents (e.g. "pablo diaz" matches "Pablo Díaz"). ALWAYS use this parameter to resolve an employee the user named — pass the user's exact text. Do NOT filter by name yourself client-side (jmespath/contains): that only sees the current page and cannot fold accents, so it misses matches and picks the wrong person. This search scans ALL employees and returns every match; if more than one comes back, present them and let the user choose.
stringoptionalPagination cursor returned by the previous response. Omit to start from the first page.
integeroptional= 50Maximum number of items to return
Request
import requests
url = "https://api.holded.com/api/v2/employees?search=value&cursor=value&limit=50"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"holded_user_id": "string",
"name": "string",
"last_name": "string",
"full_name": "string",
"date_of_birth": "string",
"nationality": "string",
"social_security_number": "string",
"academic_level": "string",
"languages": [
"string"
],
"main_language": "string",
"code": "string",
"gender": "string",
"email": "string",
"secondary_email": "string",
"phone": "string",
"mobile": "string",
"address": {
"address": "string",
"city": "string",
"postal_code": "string",
"province": "string",
"country": "string"
},
"team_ids": [
"string"
],
"workplace_id": "string",
"iban": "string",
"notes": "string",
"current_contract": {
"id": "string",
"type": "string",
"start_date": "2024-01-15",
"end_date": "2024-01-15",
"job_title": "string",
"schedule_hours": 0,
"schedule_mode": "string",
"working_days": [
"..."
],
"salary": "30000.00",
"salary_interval": "string",
"salary_payments": 0,
"salary_extra": [
"..."
]
},
"reporting_to": "string",
"time_off_supervisors": [
"string"
],
"time_off_policy_id": "string",
"terminated": 0,
"terminated_type": "string",
"terminated_reason": "string",
"fiscal_residence": false,
"fiscal_address": {
"id_number": "string",
"address": "string",
"city": "string",
"postal_code": "string",
"province": "string",
"country": "string",
"deadline": "string",
"city_of_birth": "string",
"country_of_birth": "string"
},
"job_title": "string",
"tags": [
"string"
],
"company_phone": "string",
"custom_fields": [
{}
],
"payroll_accounts": {
"es_nomina": {
"salary": "507f1f77bcf86cd799439012",
"tax": null,
"companytax": null,
"retention": null,
"result": "507f1f77bcf86cd799439013"
}
}
}
],
"has_more": false,
"cursor": "string"
}Success responses
200List of employeesapplication/jsonUnique identifier
Linked Holded user ID
First name
Last name
Full name (first name + last name). Use this field to search or filter employees by name.
Date of birth
Nationality code
Social security number
Academic level
Languages spoken
Main language code
Employee code
Gender
Primary email
Secondary email
Phone number
Mobile number
Employee address
Team IDs
Workplace ID
IBAN
Notes
Current employment contract
Reporting-to employee ID
Time-off supervisor IDs
Time-off policy ID
Termination timestamp
Termination type
Termination reason
Fiscal residence flag
Fiscal address for tax purposes
Job title
Tags
Company phone
Custom fields
Per-scheme payroll accounting account IDs, empty when none are configured. Keys are scheme identifiers; each maps line types (salary, tax, companytax, retention, result) to accounting account IDs. The `result` account is the top-level accounting_account_id for a salary record. When populated, takes precedence over the salary-record form data defaults.
Whether there are more items on the next page
Opaque cursor to pass as ?cursor= to fetch the next page. Null on the last page.
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json