Skip to main content
GET

Get active contract

Scope:team:employees.read
https://api.holded.com/api/v2/employees/{employeeId}/contract

Returns all fields of the employee's active contract. Use this as the first step before updating a contract field: fetch the current data here, then send ALL fields back to the PUT endpoint modifying only what you want to change. Field names in this response match exactly the field names expected by the PUT endpoint.

Parameters

Path parameters

employeeIdstringrequired

Employee ID

Request

python
import requests

url = "https://api.holded.com/api/v2/employees/{employeeId}/contract"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{}

Success responses

200Active contract dataapplication/json
object

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Employee or active contract not foundapplication/json
429Rate limit exceededapplication/json