v1
latestOpenAPI 3.1.02026-07-242735131.1 MBEmergency Contact
Update emergency contact
Updates the employment's emergency contact details.
This endpoint requires country-specific data. Query the Show form schema endpoint passing the country code and emergency_contact_details as path parameters to see the required fields for a given country.
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage employments (employments) | - | Manage employments (employment:write) |
put/v2/employments/{employment_id}/emergency-contact
Path parameters
employment_idstring required
Employment ID
Query parameters
Version of the emergency_contact_details form schema
Request body
Example request
{
"emergency_contact_details": {
"name": "Jane Doe",
"phone_number": "+44 20 1234 5678",
"relationship": "Spouse"
}
}Response
Success
Example response
{
"data": {
"employment": {
"contract_origin": "remote_contract",
"id": "20a72f86-employment-id-9e4942a902ff",
"personal_details": {},
"status": "created",
"type": "employee",
"updated_at": "2024-01-15T10:30:00Z",
"user_status": "active"
}
}
}