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/meYour time zone, currency and this key's scopes

Sessions

GET/sessionsList, newest first. Filters: from, to, client, ticket, created_after. Paged.
POST/sessionsAdd time: start and end, or hours
GET/sessions/{id}One session
PATCH/sessions/{id}Change any field
DELETE/sessions/{id}Delete it

Clients

GET/clientsRate, billing, hours used, and budget progress
POST/clientsAdd a client
GET/clients/{name}One client
PATCH/clients/{name}Change rate, billing or budget (hours or money, total or per period)

Timer

GET/timerThe running or paused timer, or null
POST/timer/startStart one (client, title, note, ticket)
POST/timer/pausePause
POST/timer/resumeResume
PATCH/timerChange its client, note, ticket...
POST/timer/stopStop and save the session
POST/timer/discardThrow it away

Reports

GET/reports/summaryHours, billable split, earnings, by client, ticket and type of work
GET/contractsContract hours owed, worked and left
GET/invoicesYour invoices
GET/untrackedGitHub and Figma work no session covers

Webhooks

GET/webhooksYour webhooks and whether they're working
POST/webhooksAdd 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 date is the day in your time zone, set in Tally. When adding time you can also give clock times like "09:30" with a date, or just hours.
  • 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 as cursor for the next page; it's null on the last one. limit is 50 by default, up to 200.
  • Retries. Send an Idempotency-Key header 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-Remaining header 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.createdTime was added: in an app, on the website, by the timer, by Claude or through the API
session.updatedA session's client, times, title, note, billable, type of work or ticket changed
session.deletedA session was deleted (data.session is how it was)
timer.startedA timer started on any device
timer.pausedThe timer was paused
timer.resumedThe timer was resumed
timer.stoppedThe 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" } }
401unauthorized, key_revokedNo key, a wrong key, or a revoked one
403plan_required, insufficient_scopeNot on Premium, or a read-only key tried to change something
404not_found, no_timerNo such session or client, or no timer running
409duplicate_session, client_exists, timer_runningIt already exists
422validation_error, too_shortSomething in the request isn't right; field says which
429rate_limitedOver 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, value Bearer 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.