On this page
The xTracker API lets your HR, payroll and reporting systems read your organisation's people, teams, projects, approved time, timesheets, attendance and leave. Webhooks send an event to your own address when something changes, such as a leave request being approved. The API is read-only, and both are on the Business and Enterprise Plans.
Create an API key
- As the Owner, go to Settings, then Integrations, and scroll to API & webhooks.
- Select Create key, give it a name and choose only what the system needs to read. You can also set an expiry date.
- Copy the key. It's shown only once, so store it somewhere safe, such as your password manager.
Business includes 1,000 requests an hour and up to 3 webhook endpoints; Enterprise includes 10,000 requests an hour and any number of endpoints. Revoke a key at any time and it stops working at once. Creating, revoking and first using a key are recorded in the Audit Log.
Add a webhook endpoint
- In API & webhooks, select Add endpoint and enter an https address on your own system.
- Choose the events to send: leave, timesheets, attendance and member changes.
- Copy the signing secret, shown once, and use it to check that each delivery came from xTracker.
A delivery that fails is tried again for up to 24 hours, and the delivery log shows each attempt with its response code; you can resend any event from there. An endpoint that fails 20 times in a row, or for 24 hours, is turned off and the Owner gets an email.
Never shared through the API or webhooks: screenshots, app and website details, activity scores, pay, bank or any other Finance data, and anything about the Owner. Only the Owner can manage keys and webhooks.
The full reference, with code to check signatures in Node.js and Python, is in the developer docs.
Was this article helpful?
Need more help? Email support@xTracker.work or use our contact form.