SK Works · Developers

Same rails as the whole suite.

Bearer keys, prefixed ULIDs, cursor pagination, idempotency on every mutation, signed webhooks. Learn it once for SK Works; it holds across all of Softknack.

01

How it fits together

Projects reference deals and contacts by ID; milestone events are the hooks your automations want. Reaching a milestone can draft an invoice in SK Billing — one event, two products in step.

fig · the shape of itdeal won₹2.4Lprojectscaffoldedphase 1tasks set ✓nothing sold is ever quietly forgotten
02

Your first project in three steps

Get a test key, make one authenticated call, and listen for the webhook. The same three moves work for every endpoint in the suite.

1

Get a test key

Test and live keys are separate environments. Build against sk_test_ without touching a real customer.

2

Create a project

One authenticated POST with an idempotency key. Same key + same body always returns the same result.

3

Receive the webhook

A signed project.created event hits your endpoint — verify the HMAC, act on it, return 200.

Terminal
curl -X POST https://api.softknack.com/works/v1/projects \
  -H "Authorization: Bearer sk_live_..." \
  -H "Idempotency-Key: 9f2c-4d1a-...-e7b3" \
  -H "Content-Type: application/json" \
  -d '{
    "deal_id": "dl_01J9X...",
    "name": "Site fit-out",
    "owner_id": "usr_01J9X...",
    "template": "fitout_v2"
  }'
03

Webhooks you can trust

Signed with HMAC-SHA256, delivered at-least-once, retried on a fixed schedule, and replayable from a dead-letter queue. You will never miss an event because a deploy was mid-flight.

EventWhen it fires
project.createdOpened — from a won deal or directly.
task.completedDone, by whom, when; queues update live.
milestone.reachedPhase complete — billing triggers and notifications fire.
project.closedDelivered; the timeline tells the story.
task.assignedLanded in someone's queue.
task.overduePast its due date.
retry schedule
1s4s16s1m5m30m2hdead-letter
04

Guarantees, not vibes

The platform conventions every SK product obeys — learn them once, rely on them everywhere.

Idempotency, 24h

Every mutation takes an Idempotency-Key. Same key + body returns the original result; a conflicting body gets 409.

Prefixed ULIDs

Sortable, debuggable IDs like prj_01J9X... — you can read the type and the time right off the wire.

Cursor pagination

Stable cursors that never skip or repeat a row when data changes mid-list. No page-offset drift.

Row-level tenancy

Isolation enforced in the database. 404-over-403, so the existence of another tenant's record never leaks.

Signed webhooks

HMAC-SHA256 on every delivery, with the full retry schedule and dead-letter replay above.

Spec drift-checked

The OpenAPI spec is generated from the code's validators and checked in CI — the docs can't lie.

05

Bring your own agent

Open projects from your own CRM events over REST, or template repeatable delivery. Subscribe to milestone.reached to trigger billing and notifications, or expose project actions to your agents over MCP so an AI can scaffold delivery from a won deal.

fig · MCP, scopedcatalogheadlessAPI · webhook · MCPservedyour agentsbuild on your catalog instead of being held by it
06

Just want a task feed?

Pull a person's open tasks, or a project's milestone status, in a single API call — the same data that powers the live queues your team works from.

The docs go deeper.

Auth, errors, pagination, every endpoint and schema — written once for the platform, shared by every product.

docs.softknack.com/works  See pricing →