The Staffig REST API enables you to programmatically manage employee records, request payroll updates, pull attendance summaries, and integrate with external systems. All requests require a valid API bearer token and must be sent over HTTPS.
Authentication
To authenticate your API requests, pass your secret key in the Authorization request header.
Authorization: Bearer YOUR_API_SECRET_KEY
Endpoints Directory
Staffig exposes key resources through the following RESTful endpoints:
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/employees | Retrieve list of all active employee profiles. |
| POST | /v1/employees | Create a new employee record and trigger onboarding email. |
| POST | /v1/payroll/runs | Submit a new payroll run calculation ledger. |