Nmbrs API: the REST API, OAuth and subscription key explained
How the Nmbrs REST API works: signing in with OAuth 2.0 and a subscription key, endpoints for employees, salaries and absence, and the limits to keep in mind.
By Auke Westra
Founder of DigiData
Short answer
Nmbrs has a REST API at https://api.nmbrsapp.com. You register an app in the Nmbrs developer portal, sign in through OAuth 2.0 at identityservice.nmbrs.com and send your subscription key in the X-Subscription-Key header with every request, next to the access token. An access token is valid for one hour. You retrieve data per company, such as /api/companies/{id}/employees; with too many requests you get HTTP 429 with a Retry-After header.
What can you do with the Nmbrs API?
With the Nmbrs API you read employees, employments, contracts, salaries, departments, functions, leave and absence, and you can update data. HR departments and payroll administrators use it to connect Nmbrs to an HR system, time tracking or accounting, and to pull personnel data into a reporting tool.
DigiData syncs personnel data for HR dashboards with this API. This article describes how that works in practice. The official source is the Nmbrs developer portal.
REST API and SOAP API
Nmbrs has two APIs. The older SOAP API is still used by many existing connections. The newer REST API works with JSON, OAuth 2.0 and a subscription key, and is the logical choice for new connections. This article is about the REST API.
Step 1: register an app and request a subscription key
In the Nmbrs developer portal you register an app for OAuth and request a subscription key. You send that key with every request; it identifies your application, separately from the user who signs in.
Step 2: sign in with OAuth 2.0
The user signs in at the Nmbrs identity service and gives permission. You exchange the code that comes back at https://identityservice.nmbrs.com/connect/token for an access token and a refresh token. You send your client ID and secret along as Basic authentication.
- The access token is valid for one hour.
- With the refresh token you get a new access token. If the connection is not used for a long time, the refresh token expires and the user has to sign in again.
Step 3: retrieve data
Every request contains two headers: the access token and your subscription key.
GET https://api.nmbrsapp.com/api/companies
Authorization: Bearer {access_token}
X-Subscription-Key: {subscription_key}
Nmbrs organises data per debtor (the payroll bureau's client or your own business) and per company (the employer). The endpoints you use most for reporting:
| Endpoint | Contents |
|---|---|
/api/companies | Companies the user has access to |
/api/companies/{id}/employees | Employees |
/api/companies/{id}/employees/contracts | Contracts |
/api/companies/{id}/employees/employments | Employments, with start and end date |
/api/companies/{id}/employees/salaries | Salaries |
/api/companies/{id}/employees/leaverequests | Leave requests |
/api/companies/{id}/employees/absences | Absence cases |
/api/debtors/{id}/departments, /functions | Departments and functions |
Large lists come in pages; request the next page until there are none left.
Limits and pitfalls
- HTTP 429. With too many requests Nmbrs responds with 429 and a
Retry-Afterheader. Wait exactly that long and then try again. - History. Contracts, salaries and employments have a start and end date. For an overview on a reference date you have to pick the valid row yourself.
- Privacy. Salary and absence data are sensitive. Give the connection only the permissions it needs and store the data encrypted, within the EU.
When you do not need to build on the API yourself
If you want to see absence, turnover, FTE and payroll costs per department, you do not need to connect the API yourself. With the DigiData Nmbrs connector employees, contracts, salaries, leave and absence are ready for Power BI, Excel and the HR dashboard. You can also quickly check your absence rate with the absence rate calculator.
Combining Nmbrs with project data? Also read how the Simplicate API works.

About Auke Westra
Founder of DigiData
Auke Westra is Founder of DigiData. He was responsible for clients' data and reporting and in 2025 began building an in-house data platform with his team. He writes about AI on business data, data definitions, Power BI and integrations.
Ready to start?
Try DigiData free for 14 days. Connect your software and use your data in dashboards, the AI agent or Power BI.
Related articles
Connect Exact Online Power BI via OData
Connect Exact Online to Power BI with this OData setup guide. Choose your data, configure authentication and plan refreshes without writing API scripts.
Connect Twinfield to Power BI via OData
Connect Twinfield to Power BI through OData. Follow the steps for office selection, data modeling, and scheduled refresh in Power BI Service.
Twinfield in Excel and Power Query via OData
Connect Twinfield to Power Query and Excel through OData. Learn how to load, transform, and refresh tables without recurring CSV exports.
Connect Simplicate Power BI via OData
Connect Simplicate to Power BI via DigiData. Analyze organizations, contacts, projects, hours, invoices and custom fields with current OData tables.