Two calls, server to server: make personal links for the people you want to interview, and read one link's status and answers. They do what the People tab does, from your own backend: make links when someone signs up, closes a ticket or cancels, and store each link's id against your user. See The Interviewer for what a link is.
The key
Every call carries the Interviewer co-worker's secret API key in x-api-key: the same ck_live_… key any co-worker has, minted on its page in the portal. It acts on that co-worker only. Keep it on your server: these routes send no CORS headers, so a browser page can't call them, and a key in a browser is a leaked key.
- No key, or one that isn't active:
401{ "error": "missing or unknown api key" }. - A key whose co-worker isn't an active Interviewer, or whose account doesn't have the Interviewer (it’s on Starter and up):
404{ "error": "not found" }.
Make links
curl -X POST https://app.coworkkit.ai/api/v1/interview/links \
-H "x-api-key: $COWORKKIT_API_KEY" \
-H "content-type: application/json" \
-d '{
"people": [
{ "name": "Ana", "email": "ana@example.com", "inputs": { "plan": "Pro" }, "ref": "user_123" },
{ "name": "Ben" }
],
"expiresInDays": 14,
"minutesCap": 20
}'The body takes these three fields and no others:
people: 1 to 100 people. Each one is an object with any ofname(text, at most 80 characters),email(at most 254),inputsandref(at most 64), and nothing else.inputs: what the link brings, by the input ids your published interview declares ({ "plan": "Pro" }), each value text of at most 60 characters. An id the interview doesn't declare is refused; a needed one left out is refused.ref: your own reference, given back on the link and in theinterview.completedevent. Use it to find your user again.expiresInDays: 1 to 90, default 14.minutesCap: the most minutes of conversation the link can use, 1 to 60, default 20 (one session runs at most 30).
The answer is 201 with one link per person, in the order you sent them. The url exists only in this answer: we keep its hash, not the URL, so store it or send it now. ref is there only when you gave one.
{
"links": [
{ "id": "lnk_7k2m4q4wtz6x3c6v5bhn", "url": "https://app.coworkkit.ai/i/…", "expiresAt": "2026-11-21T10:00:00.000Z", "ref": "user_123" },
{ "id": "lnk_p3r7t2y6uwi5oza4s7dq", "url": "https://app.coworkkit.ai/i/…", "expiresAt": "2026-11-21T10:00:00.000Z" }
]
}A batch is all or nothing: if any person is refused, no link is made, and the answer is 422 naming each refused person by their place in the batch (from 0). missing lists needed inputs left out, unknown input ids the interview doesn't take, invalid any other refused field (name, email, ref, inputs, inputs.<id>, or a field a person doesn't have); message says it in plain words.
{
"error": "Person 2: it needs plan.",
"problems": [{ "index": 1, "missing": ["plan"], "message": "Person 2: it needs plan." }]
}Read a link
curl https://app.coworkkit.ai/api/v1/interview/links/lnk_7k2m4q4wtz6x3c6v5bhn \
-H "x-api-key: $COWORKKIT_API_KEY"{
"id": "lnk_7k2m4q4wtz6x3c6v5bhn",
"ref": "user_123",
"status": "sent",
"createdAt": "2026-11-07T10:00:00.000Z",
"openedAt": "2026-11-07T12:31:04.000Z",
"sentAt": "2026-11-07T12:42:51.000Z",
"minutes": 11,
"version": 3,
"answers": { "role": "Founder", "verdict": "8" },
"consents": { "contact": true }
}status:made,opened,started,sent,revokedorexpired.ref,openedAtandsentAtarenulluntil there is one.versionis the published version the link was pinned to when it was first opened,nullbefore.minutes: the minutes this link has used so far.answers(by question id) andconsentsare there once the person has sent them, and stay until you delete that person. A link sent before answers were always kept may read without them; theinterview.completedwebhook carried them.
A link of another co-worker, or no such link, answers 404 { "error": "not found" }.
Every status
| Status | When | Body |
|---|---|---|
201 | POST: the links were made | { links } |
200 | GET: the link | the link |
400 | POST: the body isn't JSON | { "error": "The body must be JSON." } |
401 | no key, or not an active one | { "error": "missing or unknown api key" } |
403 | POST: the published version was published under older Interviewer terms (or before there were any). Publish the interview again (its last step accepts the current terms), then make links. Links made before keep working. | { "error": "Publish again to accept the current terms", "reason": "terms_required" } |
404 | the key's co-worker isn't an active Interviewer of an account that has it (Starter and up); GET: no such link of this co-worker | { "error": "not found" } |
409 | POST: the interview was never published | { "error": "Publish it first", "reason": "unpublished" } |
413 | POST: the body is over 256 KiB | { "error": "The body is over 256 KiB." } |
422 | POST: a person was refused | { error, problems } |
422 | POST: the body isn't an object, has a field other than the three, has no people or over 100, or an expiry or minutes cap out of range | { error } |
429 | over the rate limit | { "error": "Too many requests", "reason": "rate_limited" } and a Retry-After header in seconds |
Rate limit
60 calls a minute per key, POST and GET together. Over that, the call answers 429 with Retry-After; wait that many seconds. One POST makes up to 100 links, so a large list is a few calls, not thousands.
Every answer is cache-control: no-store.