Overview
What the HR API does, how a call is built and where to go next.
On this page
The HR API reads and writes the people of your company, the periods of their employment, their time off and the checklist of every hire, and tells you what happened. It is a JSON API over HTTPS: you send requests, and it sends events to an address you register.
Client credentials, your base address and a test company are issued with your account. Accounts are opened by our team: ask for one through the contact form and we set it up with you.
Request an accountWhat it covers
- People: hire a person, read the people of your account, set a last day of work.
- Employments: the periods of a person’s employment by effective date, and a dated change of job, manager, workplace, contract or salary.
- Organisation: the departments, the workplaces and the calendar of public holidays.
- Leave: request, approve, reject and cancel leave, with the working days counted and the balance after it.
- Onboarding: the checklist of a hire, and doing or reopening a step.
- Documents: certificates issued from a template, with their text in English or Romanian.
- Events and subscriptions: where your system hears about a change.
How a call works
Sign in
Ask for a token with your client credentials. See Authentication.
Read
List and read records. Lists come in pages of up to 500. See Pagination.
Change
Every change carries an
operationIdand, on an existing record, anexpectedRevision. See Idempotency and concurrency.Listen
Events tell you when a record changes. See Event envelope.
The status of a person
A person has one status, read from the dates, the leave and the last day, never set by hand. The product views show the same words. People and employments says how it is read.
| Status | Meaning |
|---|---|
onboarding | The first day of work has not come yet. The checklist of the hire is open. |
active | The person works at the company and has no leave today. |
on_leave | An approved leave request covers today. |
offboarding | A last day of work is set and has not passed. |
left | The last day of work has passed. |
Where next
- Hire a person and read their checklist in the Quickstart.
- Learn the records in People and employments and Effective dates.
- Follow a task end to end in the guides.
- Check the list before you go live: Go-live checklist.