Punchly API
The Punchly API gives your software the same data your team sees in Punchly: time entries and the running timer, timesheets, reports, projects, clients, tasks, tags, people and groups, approvals, time off, expenses, invoices, the schedule, kiosks and the audit log. Webhooks tell your system the moment something changes.
It is a REST API over HTTPS. Requests and responses are JSON, and every request is made with an API key.
https://api.punchly.work/v1What you can build
- Payroll and HR. Read hours and attendance for a pay period, per person, with breaks and overtime.
- Billing and accounting. Pull billable time and amounts per client and project, then mark entries invoiced.
- Project tools. Keep projects, tasks and clients in step with your project management system.
- Time capture. Start and stop the timer, or write finished entries, from your own app or device.
- Live updates. Receive a signed webhook when time is tracked, a timer starts or stops, or a project changes.
Your first request
Make a key in Punchly under Profile → Advanced → API keys, then ask which workspaces it can reach:
curl https://api.punchly.work/v1/me/workspaces \
-H "X-Api-Key: $PUNCHLY_API_KEY"The answer lists every workspace you belong to, with your role in each. Getting started takes it from there, all the way to reading and writing time.
How it fits together
| Guide | What it covers |
|---|---|
| Getting started | A key, your workspace, the first reads and writes |
| Authentication | Two ways to send the key, what a key may do, and when it is refused |
| Rate limits | Requests a minute per plan, the headers that say where you stand, and retrying |
| Errors | One error shape, named codes, and what to do about each |
| Paging | Cursors: how to read a long list to the end |
| Dates and time zones | UTC instants, local days, durations and money |
| Syncing data | One search across people, updatedSince, deletions, who is clocked in |
| Webhooks | Events, the signature, retries and duplicates |
| Recipes | Working scripts: attendance into HR and payroll, a copy of every time entry, projects and clients in another tool, invoices into accounting |
| API reference | Every endpoint, field and response |
| Versioning | What v1 promises, and what changed |
Stable by promise. Everything in
v1keeps working: we add endpoints and fields, but never remove or rename one, and a test on every release checks that. See Versioning.