API reference
Every call, its parameters and an example answer. Your company's developer account gives you the keys.
Getting started
- Base URL
- https://hrworker.com/api/v1
- Authentication
- Authorization: Bearer <key>
- Rate limit
- 60 requests a minute per key. Over that, 429 with a Retry-After header in seconds.
- Pagination
- Lists return up to 100 items and a next_cursor. Pass it back as ?cursor=; it is null on the last page.
JSON in and out. Times are ISO 8601 in UTC; dates are YYYY-MM-DD. Ids are opaque strings. Applicants appear as an id and a name like "Jordan S." only. A signed-in browser session never authenticates the API: only a key does.
Reads
Any key · what a district manager sees for the whole companyGET/storesStores with number, name, city and groups.
{
"data": [
{ "id": "st_8kq2", "number": "1042", "name": "Rocky Mount",
"city": "Rocky Mount, NC", "groups": [{ "id": "gr_e1", "name": "East District" }] }
],
"next_cursor": null
}GET/postingsOpen needs: openings, hires so far, start by and status. ?store=&status= (open by default; filled, closed or all)
{
"data": [
{ "id": "po_71dc", "store_id": "st_8kq2", "title": "Crew Member",
"openings": 2, "hires": 1, "start_by": "2026-11-10", "status": "open" }
],
"next_cursor": "c_MTAw"
}GET/postings/{id}One posting, with interviews booked this week against what's needed.
{
"id": "po_71dc", "store_id": "st_8kq2", "title": "Crew Member",
"openings": 2, "hires": 1, "start_by": "2026-11-10", "status": "open",
"booked_this_week": 3, "needed_this_week": 4, "behind": true
}GET/interviewsUpcoming and past interviews. ?store=&from=&to=
{
"data": [
{ "id": "iv_3b90", "applicant_id": "ap_5tz8", "applicant": "Jordan S.",
"posting_id": "po_71dc", "store_id": "st_8kq2",
"scheduled_at": "2026-10-24T14:30:00Z", "status": "booked", "attended": null }
],
"next_cursor": null
}status is booked, done, no_show or canceled.
GET/interviews/{id}One interview with its outcome, scorecard label and decline reason.
{
"id": "iv_2a17", "applicant_id": "ap_4hw1", "applicant": "Alexis M.",
"posting_id": "po_71dc", "store_id": "st_8kq2",
"scheduled_at": "2026-10-21T15:00:00Z", "status": "done", "attended": true,
"outcome": "not_a_fit", "scorecard": "Moderate",
"decline_reason": { "key": "shift_availability", "label": "Availability doesn't match the shifts" }
}The scorecard is the label only (Strong, Moderate or Weak), never the answers or points. The wording sent to the applicant is not returned. outcome is hired, second_interview, considering, not_a_fit, not_interested or null.
GET/hiresHires with their posting, store, first day and whether they started. ?store=&from=&to= (by first day)
{
"data": [
{ "applicant_id": "ap_5tz8", "applicant": "Jordan S.", "interview_id": "iv_3b90",
"posting_id": "po_71dc", "store_id": "st_8kq2", "first_day": "2026-11-03",
"started": null, "status": null }
],
"next_cursor": null
}started is null until the first day is confirmed, here or in the portal. status is the latest change after the start, or null.
GET/funnelPipeline counts by stage per store for a window (default the last 30 days). ?from=&to=&store=
{
"from": "2026-10-01", "to": "2026-10-22",
"stores": [
{ "store_id": "st_8kq2", "sent": 41, "booked": 18, "showed": 12, "hired": 4, "started": 3 }
]
}GET/reasonsThe approved decline reasons, so a key's label can be looked up.
{
"data": [
{ "key": "did_not_attend", "label": "Did not attend" },
{ "key": "shift_availability", "label": "Availability doesn't match the shifts" }
],
"next_cursor": null
}Writes
Read and write keys only · outcomes after a hireEach write describes what happened to someone hired through HR Worker. Nothing is sent to the applicant. Writes are logged with the key's name and show on the hire in the portal. They are switched on for a company by HR Worker; until then they return 403 writes_off.
POST/hires/{applicant_id}/startConfirm whether the first working day happened.
Request
curl -X POST https://hrworker.com/api/v1/hires/ap_5tz8/start \
-H "Authorization: Bearer $HRW_KEY" \
-H "Content-Type: application/json" \
-d '{ "started": true, "first_day": "2026-11-03" }'
Didn't start: { "started": false }, until two weeks after the first day. A first_day other than the booked one replaces it; it can't be in the future.
Response · 200
{
"applicant_id": "ap_5tz8", "applicant": "Jordan S.",
"store_id": "st_8kq2", "first_day": "2026-11-03",
"started": true, "status": "employed",
"recorded_by": "key:Payroll sync"
}POST/hires/{applicant_id}/statusRecord an employment change after they started.
Request
curl -X POST https://hrworker.com/api/v1/hires/ap_5tz8/status \
-H "Authorization: Bearer $HRW_KEY" \
-H "Content-Type: application/json" \
-d '{ "status": "moved", "effective": "2026-12-01",
"store_id": "st_2m7p", "note": "Closer to home" }'Response · 200
{
"applicant_id": "ap_5tz8", "applicant": "Jordan S.",
"status": "moved", "effective": "2026-12-01",
"store_id": "st_2m7p", "recorded_by": "key:Payroll sync",
"already_recorded": false
}| status | Means | Also needs |
|---|---|---|
| moved | Transferred to another of the company's stores | store_id |
| quit | Left of their own choice | none |
| fired | Let go by the company | none |
| laid_off | Role ended, not for cause | none |
| on_leave | Away for now, expected back | none |
effective is required; note is optional and seen by the company and HR Worker only. The same status on the same day is one change, so a retry records nothing twice (already_recorded: true). The definitions are being confirmed with the client before writes are switched on.
Errors
Every error has the same shape: a stable code to branch on and a message for people, with field when one field is at fault.
401 Missing, wrong or revoked key
{ "error": { "code": "unauthorized",
"message": "The API key is missing, invalid or revoked." } }403 Read-only key tried to write, or writes are off
{ "error": { "code": "read_only_key",
"message": "This key can read but not write." } }404 Not your company's
{ "error": { "code": "not_found",
"message": "No hire with that id at your company." } }422 Invalid status or missing field
{ "error": { "code": "invalid_status",
"message": "status must be one of moved, quit, fired, laid_off, on_leave.",
"field": "status" } }503 The figures did not load
{ "error": { "code": "not_loaded",
"message": "The figures did not load. Try again." } }Another company's id returns 404, not 403, so a key can't learn what exists elsewhere. 429 means slow down; 5xx is safe to retry.