Resources
Zeitstrom API v2 is organized by domain. Endpoints are scoped to your institution and follow standard REST patterns: GET / for lists, GET /{id}/ for details, and POST/PATCH/DELETE where write operations are supported.
Base URL
- Base:
https://api.zeitstrom.com/api/v2/— all paths end with a trailing slash. - Auth:
Authorization: Token <YOUR_API_TOKEN>(see Authentication)
Conventions
- IDs: Resources are identified by a UUID string returned as
id. - Filtering by IDs: Most endpoints accept
?ids={id}|{id}|.... - Ordering: If supported by the endpoint,
?order=field|-fieldapplies ordering; unsupported fields return a 400 with details under the$querykey. - Pagination: Limit/offset with a
count/next/previous/resultsenvelope. Most endpoints default to a limit of 100 with a maximum of 1000; some endpoints (e.g. absences, physical tokens) use higher defaults or maximums — see the resource page for specifics.
Resource groups
- Employees
employees/employees— see Employeesemployees/groups— see Employee Groups
- Tracking
tracking/employees— see Live Tracking
- Timestamps
timestamps/timespans— see Timespanstimestamps/workdays— see Workdaystimestamps/workmonths— see Workmonthstimestamps/absence— see Absencestimestamps/absence-applications— see Absence Applicationstimestamps/absence-transactions— see Absence Transactionstimestamps/absence-rules— see Absence Rulestimestamps/working-time-transactions— see Working Time Transactions
- Devices
devices/devices— see Devicesdevices/app-timestamps— see Time Trackingdevices/physical-tokens— see Physical Tokens
- Projects
projects/projects— see Projectsprojects/categories— see Project Categories
- Contracts
contracts/contracts— see Contracts
- Reports
reports/monthly— see Reportsreports/employeesreports/projectsreports/absences
- Daily reports
daily-reports/reports— see Daily Reportsdaily-reports/entries— see Daily Reports
- Reviews
- Exports
exports— see Exports and Generic Reporting API
- Asynchronous tasks
asynchronous-tasks/tasks— poll the status of asynchronous jobs such as exports
- Account & billing
accounts/managers— see Managersaccounts/institutions— see Institutionbilling/invoices— see Invoices
Example
List employees
curl -G https://api.zeitstrom.com/api/v2/employees/employees/ \
-H "Authorization: Token <YOUR_API_TOKEN>" \
-d limit=100
Get a specific workday
curl https://api.zeitstrom.com/api/v2/timestamps/workdays/a3f8b2c1-4e5d-4a6b-9c7d-8e1f2a3b4c5d/ \
-H "Authorization: Token <YOUR_API_TOKEN>"