REST API
Create read or write tokens in Settings, authenticate with a bearer token, and use the documented endpoints for attendance, leave, payslips, announcements and approvals.
Last updated: 2 December 2026 · Covers PeoplePro 2.6
What the REST API is for
The REST API lets your own software read from and write to PeoplePro: a mobile app, a biometric device bridge, a reporting script or another system in your company. It covers sign-in, the employee profile, attendance and clocking, leave, payslips, announcements and the approval inbox. It is part of PeoplePro and needs no extra purchase and no extra package on your server.
Create a token
Open Settings > API access. Under Create a token, give it a name that says what will use it, choose Read or Read and write, set an expiry if the token is for a short job, and select Create token.

The token is shown once. Copy it into your own application straight away; PeoplePro stores only a hash of it and cannot show it again. Create a separate token per application, so one can be revoked without disturbing the others.
Permissions follow the account
A token carries the permissions of the account that created it. A token made by an employee sees only that employee's own records; a token made by an administrator sees what that administrator sees. Choosing Read keeps a token from changing anything even where the account could.
Using a token
Send the token as a bearer token in the Authorization header of each request. Select API documentation on that page to open a reference that lists every endpoint with the base URL of your own installation and ready-made examples you can paste into a terminal.
Where an account has two-factor sign-in on, the sign-in call must also carry the six-digit code in a code field. A recovery code works there too.
Clocking through the API
Read the current clock state first; it returns whether the employee is clocked in, the shift window and a revision value. Send that revision back with the clock call, so two devices cannot clock the same person twice. For an employee on location based attendance the state also returns the office circle, and the clock call must carry latitude, longitude and accuracy.
Rate limits and errors
Sign-in is rate limited to protect against guessing, and the rest of the API has a general per-minute limit. Errors come back as JSON with a code, a message and, for validation problems, the fields at fault, so your application can show something useful rather than a blank failure.
Revoke a token, or switch the API off
Revoke a token from the same settings page when an application is retired or a device is lost; it stops working at once. To close the API entirely for this installation, turn API access off in Settings. Existing tokens then stop working until it is turned back on.
API in PeopleProSaaS
In PeopleProSaaS the API answers on each tenant's own domain and uses that tenant's database. It follows that tenant's plan, so a workspace on a package without attendance gets the same answer from the API as from the screen. A token issued for one tenant is refused on the central domain and on every other tenant domain.