Wooble DayOne · v1
API and webhooks
Read your roles and candidates from your own systems, and hear the moment someone applies, hands in, is shortlisted or is hired. The API only reads; changes are made in DayOne. Owners and admins make keys and webhooks in DayOne → API & webhooks.
Keys
Send your key in the Authorization header on every request. A key reads everything on your team, so keep it on a server, never in a browser or an app. Revoking it in DayOne stops it at once.
curl https://wooble.org/api/dayone/v1/roles \
-H "Authorization: Bearer dayone_…"Roles
GET /roles lists every role, newest first. GET /roles/<id> is one role.
{
"data": [{
"id": "6655e1b9-…",
"title": "Junior AI engineer",
"status": "open",
"taking_applications": true,
"created_at": "2026-11-14T09:12:00.000Z",
"deadline_at": "2026-12-14T18:29:00.000Z",
"pass_mark": 60,
"task": { "code": "…", "title": "…", "minutes": 90 },
"job_url": "https://wooble.org/hiring/jobs/acme/junior-ai-engineer",
"counts": { "people": 48, "applied": 48, "handed_in": 31, "passed": 14, "shortlisted": 1, "hired": 1 },
"url": "https://wooble.org/hiring/a/6655e1b9-…"
}]
}Candidates
GET /roles/<id>/candidates lists a role's candidates, oldest change first, 50 a page (limit up to 100). When there are more, next_cursor is set: pass it as cursor for the next page. To keep a system in step, keep the time of your last sync and ask with updated_since. status narrows to invited, applied, started or handed_in. GET /candidates/<id> is one candidate.
curl "https://wooble.org/api/dayone/v1/roles/6655e1b9-…/candidates?status=handed_in&updated_since=2026-11-20T00:00:00Z" \
-H "Authorization: Bearer dayone_…"
{
"data": [{
"id": "d5fccdba-…",
"role": { "id": "6655e1b9-…", "title": "Junior AI engineer" },
"name": "Asha Rao", "email": "asha@example.com", "phone": "+919800000000",
"profile_url": "https://github.com/asha",
"source": { "key": "linkedin", "label": "LinkedIn" },
"status": "handed_in",
"applied_at": "2026-11-21T10:02:11.000Z", "handed_in_at": "2026-11-22T16:40:03.000Z",
"score": 78, "passed": true, "criteria": { "retrieval": 80, "evaluation": 75 },
"decision": "shortlist", "decided_at": "2026-11-23T05:10:00.000Z",
"hired_at": null, "joined_on": null,
"work_url": "https://wooble.org/hiring/a/6655e1b9-…/c/d5fccdba-…",
"updated_at": "2026-11-23T05:10:00.000Z"
}],
"next_cursor": null
}- id
- The candidate's id on this role.
- role
- { id, title } of the role they're on.
- name, email, phone, profile_url
- What they gave when they applied (or what you added). Name, phone and profile link may be null.
- source
- { key, label }: where they came from, e.g. { "key": "linkedin", "label": "LinkedIn" }.
- status
- invited · applied · started · handed_in.
- invited_at, applied_at, started_at, handed_in_at
- When each happened (ISO 8601, UTC), or null.
- score
- 0–100 once marked, else null.
- passed
- Whether the score reached the role's pass mark, once marked.
- criteria
- Each criterion's score, 0–100, once marked.
- decision, decided_at
- Your team's call: shortlist or not_now, and when. Null until someone decides.
- hired_at, joined_on
- When your team marked them hired, and the joining date if given (YYYY-MM-DD).
- work_url
- Their work in DayOne, for someone on your team, once handed in.
- updated_at
- The latest of the moments above: what updated_since and the cursor follow.
Limits
Your team can make 120 requests a minute, across all its keys; the minute starts on the clock. Every answer says where you are: RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (seconds until the minute ends). Over the limit, you get 429 rate_limited with Retry-After: wait that many seconds and carry on. To keep a system in step, ask with updated_since rather than reading everything again, and let webhooks tell you when to look.
HTTP/1.1 429 Too Many Requests
RateLimit-Limit: 120
RateLimit-Remaining: 0
RateLimit-Reset: 23
Retry-After: 23
{ "error": { "code": "rate_limited", "message": "Your team made more than 120 requests this minute. Try again in 23 seconds." } }Errors
An error answers with its status and { "error": { "code", "message" } }: 401 unauthorized (no key, a wrong one or a revoked one), 404 not_found (no such role or candidate on your team), 429 rate_limited (see Limits), 400 for a bad cursor, updated_since or status.
Webhooks
Add an https endpoint in DayOne and pick its events. When one happens, we POST JSON to it. Answer with any 2xx within 10 seconds; do the work after. Anything else is tried again after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h, 24 h, then given up (about 45 hours in all). A delivery may arrive more than once, and not always in order: use id to skip one you've seen, and the candidate's updated_atto keep the newest. Redirects aren't followed.
candidate.appliedThey applied on the job page, or opened their personal link for the first time.candidate.handed_inTheir work is in. The score rides along when the task is marked at once.candidate.scoredFor a task marked after hand-in (a project with a running assistant): the score is ready.candidate.shortlistedSomeone on your team pressed Shortlist.candidate.not_nowSomeone on your team pressed Not now.candidate.hiredSomeone on your team marked them hired.webhook.pingSent only when you press Send a test.
Every event carries the candidate as the API reads it at that moment:
POST https://hooks.yourcompany.com/dayone
Content-Type: application/json
DayOne-Event: candidate.handed_in
DayOne-Delivery: 2f1c… (the same on every retry)
DayOne-Signature: t=1795598400,v1=5d41402a…
{
"id": "evt_8b0c…",
"type": "candidate.handed_in",
"api_version": "v1",
"created_at": "2026-11-22T16:40:03.000Z",
"data": { "candidate": { …the candidate, as above… } }
}Checking a signature
Each endpoint has a signing secret (whsec_…), shown in DayOne. DayOne-Signature is t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">. Compute it over the raw body (before parsing), compare in constant time, and refuse a time more than five minutes from now.
import { createHmac, timingSafeEqual } from "node:crypto";
function fromDayOne(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const t = Number(parts.t);
if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false;
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest();
const given = Buffer.from(parts.v1 ?? "", "hex");
return given.length === expected.length && timingSafeEqual(given, expected);
}