← Job Reference List
Your token

Job Reference List API

Reading your references, the checks, the reference list (Word, text, PDF) and the permission, briefing and thank-you messages all run free in the browser and need no API. The API is for the one metered step: send your references (id, name, job title, company, how you know them) and your talking points, and get back, as JSON, who should be a primary reference, in what order, which talking points and job needs each should speak to, and why, as fixed codes. The model writes no sentences; the page checks every id and code and writes the text.

Base URL: https://api.skillsafe.ai/v1/app-api. Every response is {"data": ...} or {"error": {"code", "message"}}; read error.code and error.message rather than the HTTP status alone.

The task field

This app has one task. Always send "task": "match".

taskWhat it doesReply
matchPicks three to five primary references in order of strength, keeps the rest as backups, and gives each person the talking points (and job needs) they can vouch for firsthand.One JSON object

Input fields

All values are strings. task and references are required.

FieldMeaning
task"match"
referencesJSON text: [{id, name, title, company, relationship, page_reads_as, last_year}]. id like p1; relationship in your own words; page_reads_as one of supervisor, senior, peer, report, client, academic, mentor, hr, personal, unknown; last_year a number or null. At most 12 people. Leave out phone numbers and emails; they are not needed.
highlightsJSON text: [{id, text}] with ids h1…, your talking points. At most 8.
needsJSON text: [{id, text}] with ids q1…, what the job asks for, or "[]".
role, companyThe job you are applying for, or "".

The reply

job.output.output is text holding one JSON object (sometimes inside a ```json fence): {"refs": [{"id", "use", "rank", "points", "covers", "why"}]}, one entry per reference sent. use is primary or backup (five primaries at most); rank orders everyone from 1; points are highlight ids, covers need ids; why holds one to three codes: direct-manager, senior-leader, close-peer, client-side, academic, managed-by-you, saw-points, recent, different-angle for a primary; older, less-direct, overlaps, not-professional for a backup. Before using it, check that every id is one you sent and appears once and every code is on the list; the page does this, keeps friends and family as backups, caps primaries at five and lists what it refused. If the balance ran low, truncated is true and the list may stop early; the page keeps every entry that arrived whole and treats the rest as backups.

Worked example

Input (input.json), the pasted-notes sample on the page:

{
  "task": "match",
  "references": "[{\"id\":\"p1\",\"name\":\"Maya Chen\",\"title\":\"Director of Marketing\",\"company\":\"Lumen Health\",\"relationship\":\"My manager since 2022; I report to her directly\",\"page_reads_as\":\"supervisor\",\"last_year\":2026},{\"id\":\"p2\",\"name\":\"Daniel Okafor\",\"title\":\"VP of Product\",\"company\":\"Harbor Analytics\",\"relationship\":\"Worked with him on the analytics launch 2019-2021, he was two levels above me\",\"page_reads_as\":\"senior\",\"last_year\":2021},{\"id\":\"p3\",\"name\":\"Priya Raman\",\"title\":\"Senior Product Manager\",\"company\":\"Lumen Health\",\"relationship\":\"Colleague; we ran the 2024 relaunch together, 2022-present\",\"page_reads_as\":\"peer\",\"last_year\":2026},{\"id\":\"p4\",\"name\":\"Tom Weller\",\"title\":\"Head of Sales Enablement\",\"company\":\"Brightwater Bank\",\"relationship\":\"Client on the enablement program 2023\",\"page_reads_as\":\"client\",\"last_year\":2023},{\"id\":\"p5\",\"name\":\"Sara Lindqvist\",\"title\":\"\",\"company\":\"\",\"relationship\":\"My friend from college, now a lawyer\",\"page_reads_as\":\"personal\",\"last_year\":null}]",
  "highlights": "[{\"id\":\"h1\",\"text\":\"Led the 2024 relaunch of the patient app, which doubled weekly active users\"},{\"id\":\"h2\",\"text\":\"Built the pricing page tests that lifted trial sign-ups 18%\"},{\"id\":\"h3\",\"text\":\"Ran the sales enablement program for 40 account executives\"},{\"id\":\"h4\",\"text\":\"Wrote the positioning for our first enterprise plan\"}]",
  "needs": "[{\"id\":\"q1\",\"text\":\"Owns launches end to end with product and sales\"},{\"id\":\"q2\",\"text\":\"Comfortable with pricing and packaging decisions\"},{\"id\":\"q3\",\"text\":\"Coaches a sales team on new messaging\"}]",
  "role": "Senior Product Marketing Manager",
  "company": "Fernhill Software"
}

Reply:

{"refs": [{"id": "p1", "use": "primary", "rank": 1, "points": ["h1", "h2"], "covers": ["q1", "q2"], "why": ["direct-manager", "recent"]}, {"id": "p2", "use": "primary", "rank": 2, "points": ["h4"], "covers": ["q1", "q2"], "why": ["senior-leader", "different-angle"]}, {"id": "p3", "use": "primary", "rank": 3, "points": ["h1"], "covers": ["q1"], "why": ["close-peer", "saw-points", "recent"]}, {"id": "p4", "use": "primary", "rank": 4, "points": ["h3"], "covers": ["q3"], "why": ["client-side", "different-angle"]}, {"id": "p5", "use": "backup", "rank": 5, "points": [], "covers": [], "why": ["not-professional"]}]}

On the page, Maya Chen, Daniel Okafor, Priya Raman and Tom Weller go on the reference list in that order, Sara Lindqvist stays a backup, and each briefing email lists only that person's talking points.

Errors

HTTPWhat to do
401The token is missing, expired or a guest token on a run. Get a personal token on the token page.
402The balance is below what the run reserves. Top up at skillsafe.ai/account/billing.
400The body is not a JSON object of the fields above.
429Wait and retry with the same Idempotency-Key.

Step 1 — a tiny client helper

One function that sends JSON and unwraps the {data, error} envelope.

BASE="https://api.skillsafe.ai/v1/app-api"
TOKEN="paste-your-token-here"   # from https://job-reference-list.skillsafe.ai/tokens.html
api() { # api METHOD PATH [JSON-BODY]
  curl -s -X "$1" "$BASE$2" -H "Content-Type: application/json" \
    ${TOKEN:+-H "Authorization: Bearer $TOKEN"} ${3:+--data "$3"}
}

Step 2 — a token

A guest token is enough for /me and /estimate. A run is metered, so it needs your personal token: sign in on the token page and copy it.

# a guest token (enough for /me and /estimate); a run needs your personal token from /tokens.html
TOKEN=$(curl -s -X POST "$BASE/guest" -H "Content-Type: application/json" -d '{"slug":"job-reference-list"}' | jq -r '.data.token')

Step 3 — who am I, and my balance

subject_type is guest or user; credits is the balance (1 credit = $0.0001).

api GET /me | jq '.data | {subject_type, credits}' 

Step 4 — price a run for free

/estimate charges nothing and starts no job. hold_credits is the amount reserved while a run is in flight, not the price; the run is charged what it uses.

# input.json: the run input object - {"task": "match", "references": "[...]", "highlights": "[...]", "needs": "[]", "role": "", "company": ""}
api POST /estimate "$(cat input.json)" | jq '.data | {hold_credits, min_credits, model, model_alias, markup_bps, warnings}' 

Step 5 — run it and wait for the job

Send an Idempotency-Key derived from the input: a retry with the same key is never billed twice.

KEY="job-reference-list:match:$(shasum -a 256 input.json | cut -c1-16):a1"
JOB=$(curl -s -X POST "$BASE/run" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: $KEY" --data @input.json | jq -r '.data.job_id')
while :; do
  J=$(api GET "/jobs/$JOB"); S=$(echo "$J" | jq -r '.data.status')
  case "$S" in succeeded|failed|cancelled) break;; esac; sleep 2
done
echo "$J" | jq -r '.data.output.output' > reply.json   # one JSON object: {refs: [{id, use, rank, points, why}]}
echo "$J" | jq '.data | {charged_credits, truncated}' 

Step 6 — or stream it

/run-stream sends Server-Sent Events while the job runs and the finished job at the end.

# Server-Sent Events: tick/delta events while the job runs, then a final event with the job
curl -N -s -X POST "$BASE/run-stream" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: job-reference-list:match:$(shasum -a 256 input.json | cut -c1-16):a1" --data @input.json