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.

  1. Type a name that says what the key is for, for example "Zapier".
  2. Tick what the key may read: Time, Expenses, Customers and projects and People.
  3. 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

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

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

  1. Make a Zap with Schedule by Zapier as the trigger, for example every hour.
  2. Add the step Webhooks by Zapier → GET.
  3. Address: https://annotracker.com/api/integrations/v1/time-entries, and under Headers Authorization with the value Bearer at_live_….
  4. Add updated_since under Query String Params to get only what changed.

Make

  1. Add the module HTTP → Make a request.
  2. Method GET, the address for example https://annotracker.com/api/integrations/v1/projects.
  3. Under Headers: Authorization with the value Bearer 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

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.

  1. Write a name and one to five email addresses under New scheduled export.
  2. Choose Every week (last week) or Every month (last month).
  3. 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.
  4. Choose the language and press Add scheduled export.

What the API does not do

All help articles