With an API key, another system can read the company's time, expenses, customers, projects and people: for example Zapier, Make, an invoicing program or your own script. The key can only read, never change anything.
Make a key
Owners and admins go to Settings → Integrations.
- Type a name that says what the key is for, for example "Zapier".
- Tick what the key may read: Time, Expenses, Customers and projects and People.
- Press Make API key.
The key starts with at_live_ and is only shown once. Copy it into the other system straight away. If you lose it: press Remove and make a new one.
The page shows when each key was last used and how many calls it has made. A key that has not been used for 90 days stops working by itself. Making and removing a key shows in the change log.
The addresses
Every address starts with https://annotracker.com/api/integrations/v1/ and answers with JSON. Send the key in the header Authorization: Bearer at_live_….
| Address | Needs | Contents |
|---|---|---|
time-entries |
Time | Date, worked time and billed time in minutes, billable, comment, person, customer, project, part and task |
time-entries/deleted?since=… |
Time | Time entries removed since a moment |
expenses |
Expenses | Date, description, quantity, unit, price and amount in cents, currency, markup |
customers |
Customers and projects | Name, organisation number, references, archived |
projects |
Customers and projects | Name, code, customer, parts and tasks with budget |
people |
People | Name, email, role and whether the person is active |
Time reported directly on a customer has project set to null and only customer.
Filters
fromandto: dates like2026-11-01(time and expenses)updated_since: only what changed since a moment, for example2026-11-30T08:00:00Z(every list)person_id,project_idandcustomer_id(time and expenses)
Pages
Every answer has at most 500 rows (per_page, 1–500). meta holds has_more and next_page, the address of the next page. Rows are sorted by when they changed, so you can fetch everything changed since last time with updated_since and go through the pages without missing anything.
Limit and errors
- At most 120 calls a minute per key. Above the limit the API answers
429with the headerRetry-After. 401: the key is missing, wrong or removed.403: the key may not read that, or the company's subscription has ended and the account is locked.422: a filter has the wrong format.
Times are in UTC, dates as YYYY-MM-DD.
Example with curl
curl -H "Authorization: Bearer at_live_…" \
"https://annotracker.com/api/integrations/v1/time-entries?from=2026-11-01&to=2026-11-30"
Zapier
- Make a Zap with Schedule by Zapier as the trigger, for example every hour.
- Add the step Webhooks by Zapier → GET.
- Address:
https://annotracker.com/api/integrations/v1/time-entries, and under HeadersAuthorizationwith the valueBearer at_live_…. - Add
updated_sinceunder Query String Params to get only what changed.
Make
- Add the module HTTP → Make a request.
- Method
GET, the address for examplehttps://annotracker.com/api/integrations/v1/projects. - Under Headers:
Authorizationwith the valueBearer at_live_…. Turn on Parse response.
Webhooks
A webhook sends a message to an address you choose as soon as something happens, instead of the other system asking. Owners and admins add them under Settings → Integrations → New webhook: type the address, tick when it should be sent and press Add webhook. The signing secret (starts with whsec_) is only shown once.
| Event | Sent when |
|---|---|
time_entry.created |
time is added |
time_entry.updated |
time is changed |
time_entry.deleted |
time is removed |
period.locked |
the period is locked further ahead |
period.unlocked |
the lock is moved back or removed |
ping |
you press Send a test |
Time added by an import, and recalculated rounded time, send no messages (they can touch thousands of rows). Fetch them with time-entries and updated_since.
The contents
Every message is a POST with JSON:
{
"id": "dlv_123",
"event": "time_entry.created",
"created_at": "2026-11-30T08:00:00Z",
"account_id": 1,
"data": { … the same fields as time-entries … }
}
For time_entry.deleted, data holds the entry's id and previous, its last values. For the lock: locked_until and previous_locked_until.
The headers X-AnnoTracker-Event and X-AnnoTracker-Delivery say which event and which delivery it is. The same delivery can arrive more than once if your system answered too late, so keep the id and skip duplicates.
Check the signature
The header X-AnnoTracker-Signature looks like this: t=1764489600,v1=5f2b…. v1 is HMAC-SHA256 of t, a dot and the whole body, with the signing secret as key. Work out the same and compare. It is a good idea to refuse messages where t is more than five minutes old.
PHP:
[$t, $v1] = sscanf($_SERVER['HTTP_X_ANNOTRACKER_SIGNATURE'], 't=%d,v1=%s');
$body = file_get_contents('php://input');
$ok = hash_equals(hash_hmac('sha256', $t.'.'.$body, $secret), $v1);
JavaScript (Node):
const [, t, v1] = header.match(/^t=(\d+),v1=([0-9a-f]+)$/);
const expected = crypto.createHmac('sha256', secret).update(t + '.' + rawBody).digest('hex');
const ok = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1));
Answers, retries and turning off
- Answer with a code in the 200s within 10 seconds. Redirects are not followed.
- Otherwise we try again after 1, 5 and 30 minutes and 2 hours.
- After 50 failed deliveries in a row the webhook is turned off, and the company's owners get an email. Press Turn on when the fault is fixed.
- Under Latest deliveries you see the ten latest deliveries with the answer. Deliveries are kept for 30 days.
- Only
httpsaddresses on port 443 that can be reached on the internet can be used.
Scheduled export
Under Scheduled export on the Integrations page, owners and admins can have the time report mailed as a CSV file every week or month, for example to your accountant or payroll.
- Write a name and one to five email addresses under New scheduled export.
- Choose Every week (last week) or Every month (last month).
- Choose a Report template, or Standard report. The template decides filters, columns and whether the report is internal or external. An external report has billable time only. Save a template with Save template on the Reports page.
- Choose the language and press Add scheduled export.
- The mail is sent the first day after the period, after 06:00 in the company's time zone. The week follows the company's first day of the week.
- The file is the same CSV as the button on Reports. When expenses and materials are on, the expenses come as a file of their own.
- The report is made with the permissions of the person who set up the export, so it never shows more than that person sees. If the person is no longer an owner or admin, the export is turned off.
- Send now sends last period at once. The regular mail still comes.
- Turn off and Turn on do not send the periods missed while the export was off.
- A file over 10 MB is not attached. The mail links to Reports instead.
What the API does not do
- The API never writes anything in AnnoTracker, and webhooks receive nothing.
- Internal notes, questions and receipts are never handed out.
- When only a task or a part changes, the project's
updated_atdoes not change. Fetch projects withoutupdated_sincewhen you need every task.