BUILDDevelopers

Connect LikeClockwork to the rest of your stack.

A REST API and signed webhooks for Zapier, Make, n8n and your own code. Read and update rocks, KPIs, to-dos, issues and meetings, and hear about changes as they happen.

Quick start

  1. An owner or admin opens Settings › API and creates a key: a name, the scopes it needs and, if you like, an expiry date.
  2. Copy the key straight away. It is shown once; we keep only a hash.
  3. Call the API with it:
curl https://api.likeclockwork.app/api/v1/rocks?status=at_risk,off_track \
  -H "Authorization: Bearer lck_live_abcd1234wxyz_…"
{
  "data": [ { "object": "rock", "id": "…", "title": "Launch the partner programme", "status": "at_risk", … } ],
  "next_cursor": null,
  "limit": 50
}

Keys and scopes

  • A key belongs to one company and acts only within it, with exactly the scopes chosen. It can never see another company’s data.
  • Send it as Authorization: Bearer lck_live_… over HTTPS. Production keys start lck_live_; keys made on our test environments start lck_test_ and don’t work in production.
  • Keep keys on a server or in your automation tool’s credential store. Never put one in a web page or a mobile app: the API doesn’t allow browser calls from other sites.
  • Rotate a key to get a new secret with the same settings (the old one stops at once), or revoke it. Creating, rotating and revoking keys is recorded in the company’s audit log, and Settings shows when each key was last used.
  • Up to 25 active keys per company.
Scopes
ScopeAllows
read:rocksRead rocks
write:rocksCreate and update rocks
read:kpisRead KPIs and their scores
write:kpi_entriesRecord KPI scores
read:todosRead to-dos
write:todosCreate and update to-dos
read:issuesRead issues
write:issuesCreate and update issues
read:meetingsRead meetings
read:peopleRead people (ids and names, to set owners)

Endpoints

Base URL https://api.likeclockwork.app. JSON in and out. Every response carries an X-Request-Id; quote it if you contact support.

API version 2026-11-23
MethodPathScopeWhat it does
GET/api/v1/meany keyThe key and company this request is authenticated as
GET/api/v1/rocksread:rocksList rocks
Filters: quarter, status, owner_id, include_archived, updated_since
POST/api/v1/rockswrite:rocksCreate a rock
GET/api/v1/rocks/{id}read:rocksGet a rock
PATCH/api/v1/rocks/{id}write:rocksUpdate a rock
GET/api/v1/kpisread:kpisList KPIs
Filters: owner_id, include_inactive, updated_since
GET/api/v1/kpis/{id}read:kpisGet a KPI
GET/api/v1/kpi-entriesread:kpisList KPI scores
Filters: kpi_id, from, to, updated_since
POST/api/v1/kpi-entrieswrite:kpi_entriesRecord a KPI score (replaces that period’s score)
GET/api/v1/todosread:todosList to-dos
Filters: status, owner_id, include_archived, updated_since
POST/api/v1/todoswrite:todosCreate a to-do
GET/api/v1/todos/{id}read:todosGet a to-do
PATCH/api/v1/todos/{id}write:todosUpdate a to-do
GET/api/v1/issuesread:issuesList issues
Filters: status, owner_id, include_archived, updated_since
POST/api/v1/issueswrite:issuesRaise an issue
GET/api/v1/issues/{id}read:issuesGet an issue
PATCH/api/v1/issues/{id}write:issuesUpdate an issue
GET/api/v1/meetingsread:meetingsList meetings
Filters: status, series_id, from, to, updated_since
GET/api/v1/meetings/{id}read:meetingsGet a meeting
GET/api/v1/peopleread:peopleList the company’s people (id, name and whether they can own items)
curl -X POST https://api.likeclockwork.app/api/v1/todos \
  -H "Authorization: Bearer lck_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: zap-48213-1" \
  -d '{"title":"Send the Q4 board pack","owner_id":"3f6c…","due_date":"2026-12-05"}'

Owners are given as owner_id, an owner, admin or member of the company. GET /api/v1/people (scope read:people) lists everyone’s id and display name, a page at a time like every list, with assignable: true for the people who can own rocks, to-dos and issues (viewers are listed with assignable: false); the API never takes or returns email addresses. Creating a rock counts towards your plan’s open rocks per quarter, exactly as in the app.

Pagination, errors and retries

  • Pagination. Lists are newest first. Pass limit (1–200, default 50) and, for the next page, cursor set to the previous page’s next_cursor. next_cursor is null on the last page. Use updated_since to poll for changes.
  • Idempotency. Send an Idempotency-Key header on POST. Repeating the same key with the same body within 24 hours returns the first response (with Idempotent-Replayed: true) instead of creating a duplicate; the same key with a different body is refused (422 idempotency_key_reused), and while the first request is still running a repeat gets 409 idempotency_in_progress.
  • Rate limits. 120 requests a minute per key. Over that you get 429 with Retry-After (seconds): wait that long, then retry.
  • Retries. Retry 429 and 503 after their Retry-After, and 409 idempotency_in_progress after a moment, sending the same request with the same Idempotency-Key so a retry can’t create a duplicate. Don’t retry other 4xx errors unchanged: fix the request first.
  • Read-only companies. When a subscription ends the company becomes view only: reads keep working and writes get 402 subscription_ended.
  • Deleting a company. When an owner asks to delete the company, every API key is revoked and every webhook endpoint switched off straight away, so calls with its keys get 401 unauthorized like any revoked key. If the deletion is cancelled, an admin creates new keys and switches endpoints back on.
  • Errors always look like {"error": "…", "message": "…", "request_id": "…", "details": {…}}. Branch on error, never on message.
Error codes
StatuserrorMeaning
400validation_failedA query parameter or body field is wrong; details.field_errors says which.
400invalid_jsonThe body isn’t valid JSON.
401unauthorizedNo key, a malformed key, a key for the other environment (live/test), or a revoked or expired one. Asking to delete a company revokes all its keys, so they get this too.
402subscription_endedThe company’s subscription has ended, so it is read only: reads still work, writes don’t.
402quota_exceededThe plan’s limit is reached (for example open rocks per quarter).
403insufficient_scopeThe key doesn’t have the scope this endpoint needs (details.required_scope).
404not_foundNo such path, or no such record in this key’s company.
405method_not_allowedThe path exists but not with this method; the Allow header lists the ones it takes.
409conflictThe record already exists, or that KPI period couldn’t be written. Read the current state before trying again.
409idempotency_in_progressA request with this Idempotency-Key is still being processed. Send the same request again (same key and body) after a moment to get its result.
413payload_too_largeThe body is over 64 KB.
415unsupported_media_typeSend the body with Content-Type: application/json.
422owner_not_memberowner_id isn’t an owner, admin or member of the company (GET /api/v1/people marks them assignable).
422invalid_referenceAn id in the body (kpi_id, series_id, parent_rock_id) isn’t in this company.
422idempotency_key_reusedThis Idempotency-Key was already used with a different request. Use a new key for a new request.
422validation_failedThe values are well-formed but break a rule for the record (details.reason).
429rate_limitedMore than 120 requests a minute for this key, or too many from one address. Wait the Retry-After seconds, then retry.
503company_maintenanceLikeClockwork support has made the company read only for a short while to fix something: reads still work, writes don’t. Try again later.
503unavailableA temporary problem on our side. Wait the Retry-After seconds, then retry; repeat a POST with the same Idempotency-Key so the retry can’t create a duplicate.

Webhooks

In Settings › API, add an HTTPS endpoint and choose events. When one happens we POST it to you as JSON, signed. Up to 10 endpoints per company.

Events
TypeSent when
rock.createdA rock is created
rock.status_changedA rock’s status changes
todo.createdA to-do is created
todo.completedA to-do is completed
issue.createdAn issue is raised
issue.solvedAn issue is solved
kpi_entry.createdA KPI score is recorded
kpi_entry.updatedA recorded KPI score is changed
meeting.concludedA meeting is concluded

data.object has the same shape as the API returns; previous_attributes holds the earlier values of what changed (for kpi_entry.updated: value, rag, note or the period dates; a field that was empty before is left out). Recording a score for a period that already has one replaces it and sends kpi_entry.updated, not kpi_entry.created; writing the same score again sends nothing. A ping event is sent when you press “Send test event”.

{
  "id": "9b1f0c0e-6a1d-4f5e-9d38-2f8f0a6b1c11",
  "object": "event",
  "type": "rock.status_changed",
  "api_version": "2026-11-23",
  "created_at": "2026-11-23T09:14:03.120Z",
  "company_id": "70000000-0000-4000-8000-000000000001",
  "data": {
    "object": {
      "object": "rock",
      "id": "18181818-0000-4000-8000-000000000001",
      "title": "Launch the partner programme",
      "quarter": "2026-Q4",
      "status": "at_risk",
      "percent_complete": 40,
      "owner": {
        "id": "aaaaaaaa-0000-4000-8000-000000000002",
        "name": "Max Member"
      },
      "archived": false
    },
    "previous_attributes": {
      "status": "on_track"
    }
  }
}
  • Headers: LikeClockwork-Signature, LikeClockwork-Event (the event type), LikeClockwork-Event-Id (the same on every retry and resend: use it to ignore duplicates) and LikeClockwork-Delivery-Id (one per endpoint per event, new for a resend; quote it if you contact support).
  • Answer within 10 seconds with any 2xx status. Do slow work afterwards.
  • Retries: timeouts, network errors, 408, 429 and 5xx are retried after 1 minute, 5 minutes, 30 minutes, 2, 6, 12 and 24 hours (8 attempts in all). If you answer with a longer Retry-After (in seconds, up to an hour) we wait that long instead. Other 4xx responses and redirects are not retried. Events can arrive more than once and out of order.
  • Switched off after failures: an endpoint that keeps failing for more than a day (10 or more failures in a row), or fails 50 times in a row, is switched off and the company’s owners and admins get an email. Switch it back on in Settings; use Resend in its delivery log for anything you missed.
  • Where we send: HTTPS on port 443 to a public hostname only. We refuse IP addresses, private, loopback, link-local and cloud-metadata destinations (checked when you save the URL and again before every delivery), we never follow redirects, and we read at most 64 KB of your response.

Verifying signatures

Every delivery has LikeClockwork-Signature: t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of t + "." + raw body keyed with the endpoint’s signing secret (whsec_…, shown once when you add the endpoint). Check it before trusting the body, and reject timestamps more than five minutes old so a captured delivery can’t be replayed. There is one v1 value, made with the current secret: after you create a new signing secret, every delivery (retries of older events included) is signed with the new one only, so update your receiver straight away.

import crypto from 'node:crypto';

// rawBody: the request body exactly as received (a string or Buffer), before JSON.parse.
export function verifyLikeClockwork(rawBody, header, secret, toleranceSeconds = 300) {
  const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
  const t = Number(parts.t);
  if (!t || Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false;   // stale: replay?
  const expected = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex');
  const given = header.split(',').filter((p) => p.startsWith('v1=')).map((p) => p.slice(3));
  return given.some((sig) => sig.length === expected.length
    && crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected)));
}
import hmac, hashlib, time

def verify_likeclockwork(raw_body: bytes, header: str, secret: str, tolerance=300) -> bool:
    items = [p.split("=", 1) for p in header.split(",") if "=" in p]
    t = next((int(v) for k, v in items if k == "t"), 0)
    if not t or abs(time.time() - t) > tolerance:
        return False
    expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest()
    return any(hmac.compare_digest(v, expected) for k, v in items if k == "v1")

What the API never shares

  • Private to-dos and 1:1 action items: not listed, not readable, not changeable, never in a webhook.
  • Meeting notes, agendas, summaries, 1:1s, people reviews, hiring, cash and billing: not part of the API.
  • People appear only as an id and display name, never an email address.

More on how we protect data on the security page.

Build on the rhythm.

Start a 14-day trial, then create a key in Settings › API.