Tally API
Version 1 · OpenAPI spec
Read and change your Tally data from anywhere: Zapier, Make, n8n, a script, or your own app. Add time, start and stop the timer on all your devices, keep clients in sync, and pull hours and earnings into your reports. The API is part of Tally Premium. Prefer the terminal? The Tally command-line tool for Mac starts timers and logs time from your shell.
1. Make a key
In Tally, go to Integrations → API & webhooks and make a key. Tick Can add and change time if the tool should write, not just read. The key is shown once, so copy it somewhere safe. Revoke it there any time; anything using it stops working right away. A key only ever sees your own data.
2. Call the API
Send the key as a Bearer token. Everything is JSON.
curl https://www.tallytimetracker.com/api/v1/sessions?from=2026-10-01 \ -H "Authorization: Bearer tally_your_key_here"
Add an hour and a half on a ticket:
curl -X POST https://www.tallytimetracker.com/api/v1/sessions \
-H "Authorization: Bearer tally_your_key_here" \
-H "Content-Type: application/json" \
-d '{"client": "Acme", "start": "2026-10-15T13:00:00Z", "end": "2026-10-15T14:30:00Z",
"title": "Fix login bug", "ticket": {"key": "SCRUM-12", "url": "https://acme.atlassian.net/browse/SCRUM-12"}}'Start a timer, then stop it and save the session:
curl -X POST https://www.tallytimetracker.com/api/v1/timer/start -H "Authorization: Bearer $TALLY_KEY" \
-H "Content-Type: application/json" -d '{"client": "Acme", "title": "Code review"}'
curl -X POST https://www.tallytimetracker.com/api/v1/timer/stop -H "Authorization: Bearer $TALLY_KEY"Endpoints
All under https://www.tallytimetracker.com/api/v1. The OpenAPI spec has every field.
Account
| GET | /me | Your time zone, currency and this key's scopes |
Sessions
| GET | /sessions | List, newest first. Filters: from, to, client, ticket, created_after. Paged. |
| POST | /sessions | Add time: start and end, or hours |
| GET | /sessions/{id} | One session |
| PATCH | /sessions/{id} | Change any field |
| DELETE | /sessions/{id} | Delete it |
Clients
| GET | /clients | Rate, billing, hours used, and budget progress |
| POST | /clients | Add a client |
| GET | /clients/{name} | One client |
| PATCH | /clients/{name} | Change rate, billing or budget (hours or money, total or per period) |
Timer
| GET | /timer | The running or paused timer, or null |
| POST | /timer/start | Start one (client, title, note, ticket) |
| POST | /timer/pause | Pause |
| POST | /timer/resume | Resume |
| PATCH | /timer | Change its client, note, ticket... |
| POST | /timer/stop | Stop and save the session |
| POST | /timer/discard | Throw it away |
Reports
| GET | /reports/summary | Hours, billable split, earnings, by client, ticket and type of work |
| GET | /contracts | Contract hours owed, worked and left |
| GET | /invoices | Your invoices |
| GET | /untracked | GitHub and Figma work no session covers |
Webhooks
| GET | /webhooks | Your webhooks and whether they're working |
| POST | /webhooks | Add one: url and events. The answer has its signing secret |
| GET | /webhooks/{id} | One webhook |
| DELETE | /webhooks/{id} | Delete it |
Good to know
- Times. Timestamps are ISO 8601 (UTC in answers). A session's
dateis the day in your time zone, set in Tally. When adding time you can also give clock times like"09:30"with adate, or justhours. - Rules for time. The same as the apps: an existing client, no future time, 1 minute to 16 hours a session. Time added through the API shows "via API" in Tally.
- The timer is shared. Start it here and it runs on your phone, Mac and the website at once, and the other way round. Stopping saves the time worked, pauses left out.
- Pages. Lists return
next_cursor. Pass it back ascursorfor the next page; it's null on the last one.limitis 50 by default, up to 200. - Retries. Send an
Idempotency-Keyheader with a POST, and a retry with the same key gets the first answer back instead of adding the time twice. - Limits. 120 requests a minute per key. The
RateLimit-Remainingheader says how many are left. - Jira and Linear. Time added through the API isn't posted to the ticket as a worklog or comment. Use the timer in Tally for that.
- Versions. Version 1 only ever gains fields and endpoints; nothing is removed or renamed.
Webhooks
Instead of asking every few minutes, let Tally tell you. Add a webhook in Integrations → API & webhooks (or POST /webhooks) with an https URL and the events you want, and Tally sends a POST there the moment one happens, from any device.
session.created | Time was added: in an app, on the website, by the timer, by Claude or through the API |
session.updated | A session's client, times, title, note, billable, type of work or ticket changed |
session.deleted | A session was deleted (data.session is how it was) |
timer.started | A timer started on any device |
timer.paused | The timer was paused |
timer.resumed | The timer was resumed |
timer.stopped | The timer was stopped or thrown away. Saved time follows as session.created |
The body is the session or timer, the same as the API returns it:
POST https://your-url
Tally-Event: session.created
Tally-Delivery: 5f0c...
Tally-Signature: t=1729700000, v1=6b1d...
{ "id": "5f0c...", "type": "session.created", "created_at": "2026-10-23T14:30:00.000Z",
"data": { "session": { "id": "...", "client": "Acme", "hours": 1.5, ... } } }Check the signature. The secret (whsec_...) is shown once when you add the webhook. Work out HMAC-SHA256 of t, a dot and the raw body with it, compare it with v1, and refuse calls whose t is more than 5 minutes old:
import crypto from 'node:crypto'
function fromTally(secret, header, rawBody) {
const { t, v1 } = Object.fromEntries(header.split(',').map(p => p.trim().split('=')))
const want = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex')
return Math.abs(Date.now() / 1000 - Number(t)) < 300 && want.length === v1?.length &&
crypto.timingSafeEqual(Buffer.from(want), Buffer.from(v1))
}- Answer with any 2xx within 10 seconds. Anything else is retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours.
- After the last retry the webhook is marked failing and gets no new events. Fix the URL, then turn it back on in Integrations → API & webhooks.
- Once each, in order. A webhook's events arrive in the order they happened. A retry carries the same
id, so skip ids you've already handled. - Edits to a running timer (a new note) don't send an event; starting, pausing, resuming and stopping do.
- Up to 10 webhooks. Like the API, webhooks are part of Premium.
Errors
Errors come back with a code you can check and a message you can show:
{ "error": { "code": "validation_error", "message": "There's no client called \"Acme Co\"...", "field": "client" } }| 401 | unauthorized, key_revoked | No key, a wrong key, or a revoked one |
| 403 | plan_required, insufficient_scope | Not on Premium, or a read-only key tried to change something |
| 404 | not_found, no_timer | No such session or client, or no timer running |
| 409 | duplicate_session, client_exists, timer_running | It already exists |
| 422 | validation_error, too_short | Something in the request isn't right; field says which |
| 429 | rate_limited | Over 120 requests a minute; wait Retry-After seconds |
Zapier, Make and n8n
- Zapier: use Webhooks by Zapier → Custom Request with the URL, method and the Authorization header above. To react to new time instantly, use Catch Hook and add its URL as a webhook in Tally; or Retrieve Poll on
/sessions(Zapier skips ids it has seen). - Make: the HTTP → Make a request module, with the Authorization header. For instant triggers, a Custom webhook with its URL added in Tally.
- n8n: the HTTP Request node with Header Auth (name
Authorization, valueBearer tally_...). Import the OpenAPI spec to get every endpoint. For instant triggers, a Webhook node (POST) with its production URL added in Tally.
Questions
Something missing or not working? Get in touch. Using the API and webhooks is covered by the Terms of Service.