API reference
Every route of the Dio API: parameters, request bodies, answers and errors, and every webhook event, drawn from the OpenAPI document.
Base URL https://api.getdio.ai/v1. Every call needs Authorization: Bearer sk_live_…; every POST, PATCH and DELETE an Idempotency-Key. Start with the quickstart. This page is drawn from the OpenAPI document, which you can load into Postman or a client generator.
Roles
The jobs candidates interview for. A role takes links once its plan is published.
List roles
GET /v1/jobs
Every role in the workspace. Offer only the ones with published: true as places to send candidates.
Who: Any API key, member or admin.
Answer 200
| Field | Type | Description |
|---|---|---|
jobs required | array of object | |
jobs[].id required | string | job_ and twelve hex characters. |
jobs[].title required | string | The title candidates see. |
jobs[].internal_title required | string or null | Your own label for the role. Null when unset. |
jobs[].status required | string | draft or published. |
jobs[].published required | boolean | Whether the role has a published plan. Only a published role takes interview links. |
jobs[].plan_id required | string or null | The published plan. Null for a draft. |
jobs[].plan_version required | string or null | The published plan's version. |
jobs[].plan_sha256 required | string or null | A hash of the published plan, to tell which rubric an interview used. |
jobs[].records_video required | boolean | Whether interviews for this role record video. |
jobs[].created_at required | timestamp |
Errors: 401, 402, 422, 429. What each means.
Create a role
POST /v1/jobs
Creates a role as a draft. A recruiter builds and publishes its interview plan in the Studio; until then it takes no links.
Who: Any API key, member or admin.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Request body
| Field | Type | Description |
|---|---|---|
title required | string | The title candidates see. Required. |
jd_text | string or null | The job description. A recruiter builds the interview plan from it in the Studio. |
internal_title | string or null | Your own label for the role. One line. |
Answer 201
| Field | Type | Description |
|---|---|---|
id required | string | job_ and twelve hex characters. |
title required | string | The title candidates see. |
internal_title required | string or null | Your own label for the role. Null when unset. |
status required | string | draft or published. |
published required | boolean | Whether the role has a published plan. Only a published role takes interview links. |
plan_id required | string or null | The published plan. Null for a draft. |
plan_version required | string or null | The published plan's version. |
plan_sha256 required | string or null | A hash of the published plan, to tell which rubric an interview used. |
records_video required | boolean | Whether interviews for this role record video. |
created_at required | timestamp |
Errors: 400, 401, 402, 409, 422, 429. What each means.
Get a role
GET /v1/jobs/{job_id}
One role.
Who: Any API key, member or admin.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
job_id required | path | string | The record's id: job_…. |
Answer 200
| Field | Type | Description |
|---|---|---|
id required | string | job_ and twelve hex characters. |
title required | string | The title candidates see. |
internal_title required | string or null | Your own label for the role. Null when unset. |
status required | string | draft or published. |
published required | boolean | Whether the role has a published plan. Only a published role takes interview links. |
plan_id required | string or null | The published plan. Null for a draft. |
plan_version required | string or null | The published plan's version. |
plan_sha256 required | string or null | A hash of the published plan, to tell which rubric an interview used. |
records_video required | boolean | Whether interviews for this role record video. |
created_at required | timestamp |
Errors: 401, 402, 404, 422, 429. What each means.
Rename a role's internal title
PATCH /v1/jobs/{job_id}
Sets your own label for the role, including after it is published. The published plan and the title candidates see do not change.
Who: A key whose minter created the role, or an admin key.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
job_id required | path | string | The record's id: job_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Request body
| Field | Type | Description |
|---|---|---|
internal_title required | string or null | Your own label for the role. null or an empty string clears it. The only field this call takes. |
Answer 200
| Field | Type | Description |
|---|---|---|
id required | string | job_ and twelve hex characters. |
title required | string | The title candidates see. |
internal_title required | string or null | Your own label for the role. Null when unset. |
status required | string | draft or published. |
published required | boolean | Whether the role has a published plan. Only a published role takes interview links. |
plan_id required | string or null | The published plan. Null for a draft. |
plan_version required | string or null | The published plan's version. |
plan_sha256 required | string or null | A hash of the published plan, to tell which rubric an interview used. |
records_video required | boolean | Whether interviews for this role record video. |
created_at required | timestamp |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
Interview links
Private links that start one candidate's interview.
Create an interview link
POST /v1/jobs/{job_id}/invites
Makes one private link to the role's interview and answers its URL, once. The role must be published (409 otherwise), and the workspace able to start interviews (409 with the reason otherwise). Linking a person and ATS references are early access.
Who: A key whose minter created the role, or an admin key.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
job_id required | path | string | The record's id: job_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Request body
| Field | Type | Description |
|---|---|---|
label | string or null | Free text shown beside the link in the role's Invites tab. |
email | string or null | Early access: who the link is for. The registration form opens with the address filled in and fixed. |
first_name | string or null | Early access. |
last_name | string or null | Early access. |
lifetime_days | 3 | 7 | 14 or null | Early access: how long a link made out to a person lasts. 7 if left out. |
send | boolean or null | Early access: with email, Dio emails the invitation to that address. |
references | object or null | Early access: your system's ids, carried on the link, the interview and every event about them. |
references.system required | string | A lowercase name you choose for your system: greenhouse, custom. |
references.candidate_id | string or null | |
references.application_id | string or null | |
references.job_id | string or null | |
references.url | string or null | An https:// link to the record in your system. Shown, never fetched. |
on_duplicate | reuse | create or null | Early access: what a second request for the same person gets. reuse (the default with references) answers the live link there already is. |
Answer 200
| Field | Type | Description |
|---|---|---|
id required | string | inv_ and twelve hex characters. |
job_id required | string | |
label required | string or null | |
url required | string | The candidate's link. In this answer and nowhere else: store it or send it on now. |
expires_at required | timestamp or null | 72 hours after it was made, for a link not made out to a person. |
references required | array of object | Your system's ids for this record. Empty unless ATS references were sent (early access). |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
reused required | boolean | true when an existing live link was answered instead (status 200). |
Answer 201
| Field | Type | Description |
|---|---|---|
id required | string | inv_ and twelve hex characters. |
job_id required | string | |
label required | string or null | |
url required | string | The candidate's link. In this answer and nowhere else: store it or send it on now. |
expires_at required | timestamp or null | 72 hours after it was made, for a link not made out to a person. |
references required | array of object | Your system's ids for this record. Empty unless ATS references were sent (early access). |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
reused required | boolean | true when an existing live link was answered instead (status 200). |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
List a role's links Early access
GET /v1/jobs/{job_id}/invites
The role's links, newest first, a page at a time.
Who: Any API key, member or admin.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
job_id required | path | string | The record's id: job_…. |
status | query | string or null | live, used, expired or revoked. |
limit | query | integer or null | How many to return: 1 to 200, default 50. |
cursor | query | string or null | The previous answer's next_cursor, for the page after it. |
Answer 200
| Field | Type | Description |
|---|---|---|
invites required | array of object | |
invites[].id required | string | |
invites[].job_id required | string | |
invites[].label required | string or null | |
invites[].status required | string | live, used, expired or revoked. |
invites[].created_at required | timestamp | |
invites[].expires_at required | timestamp or null | |
invites[].sent_at required | timestamp or null | When Dio emailed the invitation. |
invites[].used_at required | timestamp or null | When an interview was started from it. |
invites[].session_id required | string or null | The interview it started. |
invites[].references required | array of object | Your system's ids for this record. Empty unless ATS references were sent (early access). |
invites[].references[].system required | string | The system the id is from, as you named it: greenhouse. |
invites[].references[].kind required | string | candidate, application or job. |
invites[].references[].external_id required | string | The id in that system. |
invites[].references[].url required | string or null | A link to the record in that system, if you sent one. |
next_cursor required | string or null | Pass as cursor for the next page; null at the end. |
Errors: 400, 401, 402, 404, 422, 429. What each means.
Find links Early access
GET /v1/invites
The workspace's links across every role, found by your system's ids or by state.
Who: Any API key, member or admin.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
system | query | string or null | Links carrying a reference from this system. |
application_id | query | string or null | The link carrying this application id. Needs system. |
candidate_id | query | string or null | The link carrying this candidate id. Needs system. |
status | query | string or null | live, used, expired or revoked. |
limit | query | integer or null | How many to return: 1 to 200, default 50. |
cursor | query | string or null | The previous answer's next_cursor, for the page after it. |
Answer 200
| Field | Type | Description |
|---|---|---|
invites required | array of object | |
invites[].id required | string | |
invites[].job_id required | string | |
invites[].label required | string or null | |
invites[].status required | string | live, used, expired or revoked. |
invites[].created_at required | timestamp | |
invites[].expires_at required | timestamp or null | |
invites[].sent_at required | timestamp or null | When Dio emailed the invitation. |
invites[].used_at required | timestamp or null | When an interview was started from it. |
invites[].session_id required | string or null | The interview it started. |
invites[].references required | array of object | Your system's ids for this record. Empty unless ATS references were sent (early access). |
invites[].references[].system required | string | The system the id is from, as you named it: greenhouse. |
invites[].references[].kind required | string | candidate, application or job. |
invites[].references[].external_id required | string | The id in that system. |
invites[].references[].url required | string or null | A link to the record in that system, if you sent one. |
next_cursor required | string or null | Pass as cursor for the next page; null at the end. |
Errors: 400, 401, 402, 404, 422, 429. What each means.
Get a link Early access
GET /v1/invites/{invite_id}
One link: its ids, state and times. Never the name, address or URL.
Who: Any API key, member or admin.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
invite_id required | path | string | The record's id: inv_…. |
Answer 200
| Field | Type | Description |
|---|---|---|
id required | string | |
job_id required | string | |
label required | string or null | |
status required | string | live, used, expired or revoked. |
created_at required | timestamp | |
expires_at required | timestamp or null | |
sent_at required | timestamp or null | When Dio emailed the invitation. |
used_at required | timestamp or null | When an interview was started from it. |
session_id required | string or null | The interview it started. |
references required | array of object | Your system's ids for this record. Empty unless ATS references were sent (early access). |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
Errors: 401, 402, 404, 422, 429. What each means.
Read a link's URL again Early access
POST /v1/invites/{invite_id}/link
The URL of a live link, entered in the workspace's audit log. 409 for a link that is not live: make a new one.
Who: A key whose minter created the role, or an admin key.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
invite_id required | path | string | The record's id: inv_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Answer 200
| Field | Type | Description |
|---|---|---|
url required | string |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
Interviews
Interviews, their transcripts and their scorecards.
List interviews
GET /v1/sessions
Interviews, newest first. With job_id alone, or nothing, every interview of that role or the workspace's newest 200. The other parameters, which page the answer, are early access.
Who: Any API key, member or admin.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
job_id | query | string or null | Only this role's interviews. |
system | query | string or null | Early access: interviews carrying a reference from this system. |
application_id | query | string or null | Early access: the interview carrying this application id. |
candidate_id | query | string or null | Early access: interviews carrying this candidate id. |
invite_id | query | string or null | Early access: the interview this link started. |
status | query | string or null | Early access: created or completed. |
scoring_status | query | string or null | Early access: queued, transcribing, scoring, scored, failed or skipped. |
since | query | string or null | Early access: started at or after this ISO-8601 time. |
limit | query | integer or null | Early access. How many to return: 1 to 200, default 50. |
cursor | query | string or null | Early access. The previous answer's next_cursor, for the page after it. |
Answer 200
| Field | Type | Description |
|---|---|---|
sessions required | array of object | |
sessions[].id required | string | sess_ and twelve hex characters. |
sessions[].job_id required | string | |
sessions[].invite_id required | string or null | The link it was started from. |
sessions[].room required | string | Dio's own name for the call. Opaque. |
sessions[].status required | string | created while it runs, completed once it has ended. |
sessions[].end_reason required | string or null | Why it ended, once it has. |
sessions[].scoring_status required | string or null | queued, transcribing, scoring, scored, failed or skipped. |
sessions[].scorecard_id required | string or null | |
sessions[].has_transcript required | boolean | |
sessions[].has_scorecard required | boolean | |
sessions[].started_at required | timestamp or null | |
sessions[].ended_at required | timestamp or null | |
sessions[].integrity required | object | |
sessions[].integrity.status required | string | checked or not_checked. |
sessions[].integrity.to_review required | integer or null | How many integrity findings a person should look at. Null until checked. |
sessions[].references required | array of object | Your system's ids for this record. Empty unless ATS references were sent (early access). |
sessions[].references[].system required | string | The system the id is from, as you named it: greenhouse. |
sessions[].references[].kind required | string | candidate, application or job. |
sessions[].references[].external_id required | string | The id in that system. |
sessions[].references[].url required | string or null | A link to the record in that system, if you sent one. |
next_cursor | string or null | Present when the answer is a page (any filter but job_id was given). |
Errors: 400, 401, 402, 422, 429. What each means.
Get an interview
GET /v1/sessions/{session_id}
One interview, with its scoring_status. Scoring takes minutes after the interview ends: subscribe to scorecard.ready rather than polling.
Who: Any API key, member or admin.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
session_id required | path | string | The record's id: sess_…. |
Answer 200
| Field | Type | Description |
|---|---|---|
id required | string | sess_ and twelve hex characters. |
job_id required | string | |
invite_id required | string or null | The link it was started from. |
room required | string | Dio's own name for the call. Opaque. |
status required | string | created while it runs, completed once it has ended. |
end_reason required | string or null | Why it ended, once it has. |
scoring_status required | string or null | queued, transcribing, scoring, scored, failed or skipped. |
scorecard_id required | string or null | |
has_transcript required | boolean | |
has_scorecard required | boolean | |
started_at required | timestamp or null | |
ended_at required | timestamp or null | |
integrity required | object | |
integrity.status required | string | checked or not_checked. |
integrity.to_review required | integer or null | How many integrity findings a person should look at. Null until checked. |
references required | array of object | Your system's ids for this record. Empty unless ATS references were sent (early access). |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
Errors: 401, 402, 404, 422, 429. What each means.
Get a transcript
GET /v1/sessions/{session_id}/transcript
What was said, turn by turn. 404 until the interview has a transcript. Each read is entered in the audit log under the key's name.
Who: Any API key, member or admin.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
session_id required | path | string | The record's id: sess_…. |
Answer 200
| Field | Type | Description |
|---|---|---|
version required | 2026-11 | |
session_id required | string | |
kind required | final | live | final once the accurate transcript the scorecard cites has been written; live, transcribed during the call, until then. Evidence turn_ids match the final transcript's turns. |
turns required | array of object | |
turns[].id required | string | The turn's id. Scorecard evidence names it as turn_id. |
turns[].index required | integer | Its place in the interview, from 0. |
turns[].speaker required | candidate | interviewer | |
turns[].text required | string | |
turns[].start_ms required | integer | Milliseconds from the start of the interview. |
turns[].end_ms required | integer | |
turns[].question_id required | string or null | The plan question being answered, if known. |
Errors: 401, 402, 404, 422, 429. What each means.
Get a scorecard
GET /v1/sessions/{session_id}/scorecard
The scored interview, each criterion with the quotes it rests on. 409 until it is scored.
Who: Any API key, member or admin.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
session_id required | path | string | The record's id: sess_…. |
Answer 200
| Field | Type | Description |
|---|---|---|
version required | 2026-11 | This answer's format. It changes only when a field changes meaning or goes away; see the changelog. |
id required | string | |
session_id required | string | |
job_id required | string | |
status required | scored | incomplete_coverage | failed | superseded | incomplete_coverage when too little of the rubric was assessed for an overall score. |
scale required | object | The range criterion and overall scores are on. |
scale.min required | integer | |
scale.max required | integer | |
overall required | object or null | Null when coverage was not met. |
overall.score required | number | The weighted score, on the scorecard's scale. |
overall.display required | string | The score as the app shows it, to one decimal place. |
overall.band required | string | The band the role's rubric puts that score in. |
coverage required | object | |
coverage.value required | number | The share of the rubric's weight the interview assessed. |
coverage.threshold required | number | The share needed for an overall score. |
coverage.met required | boolean | |
criteria required | array of object | |
criteria[].id required | string | |
criteria[].name required | string or null | |
criteria[].weight required | number | Its share of the overall score, from 0 to 1. |
criteria[].screening required | boolean | A standing screening question, rated like any other but carrying no weight. |
criteria[].result required | scored | insufficient_evidence | not_assessed | scored; insufficient_evidence when the question was asked but the answer held nothing to score; not_assessed when it was never reached. |
criteria[].score required | integer or null | On the scorecard's scale. A person's correction wins over the model's. Null unless result is scored or a person set one. |
criteria[].overridden required | boolean | Whether a person corrected the score. |
criteria[].verdict required | string | What the evidence established, in one line. May be empty. |
criteria[].reasoning required | string | Why this score, in a few sentences. |
criteria[].gap required | string | What the next level up needed that the evidence did not show. Empty at the top. |
criteria[].next_question required | string | The one question that would settle the gap. |
criteria[].not_assessed_reason required | string or null | Why it was never reached: time_exhausted, candidate_disconnected, candidate_skipped, early_exit or technical_failure. |
criteria[].evidence required | array of object | The quotes the score rests on. |
criteria[].evidence[].quote required | string | What was said, word for word. |
criteria[].evidence[].speaker required | candidate | interviewer | |
criteria[].evidence[].headline required | string | What the moment shows, in a few words. May be empty. |
criteria[].evidence[].turn_id required | string | |
criteria[].evidence[].start_ms required | integer | |
criteria[].evidence[].end_ms required | integer | |
criteria[].contradicting_evidence required | array of object | Quotes that cut against it. |
criteria[].contradicting_evidence[].quote required | string | What was said, word for word. |
criteria[].contradicting_evidence[].speaker required | candidate | interviewer | |
criteria[].contradicting_evidence[].headline required | string | What the moment shows, in a few words. May be empty. |
criteria[].contradicting_evidence[].turn_id required | string | |
criteria[].contradicting_evidence[].start_ms required | integer | |
criteria[].contradicting_evidence[].end_ms required | integer | |
knockouts required | array of object | |
knockouts[].question_id required | string | |
knockouts[].status required | pass | fail | unclear | |
knockouts[].reason required | string | What the candidate said against what the role needs. |
knockouts[].evidence required | object or null | |
knockouts[].evidence.quote required | string | What was said, word for word. |
knockouts[].evidence.speaker required | candidate | interviewer | |
knockouts[].evidence.headline required | string | What the moment shows, in a few words. May be empty. |
knockouts[].evidence.turn_id required | string | |
knockouts[].evidence.start_ms required | integer | |
knockouts[].evidence.end_ms required | integer | |
summary required | object or null | |
summary.text required | string | A recruiter's summary of the interview. |
summary.strengths required | array of string | |
summary.gaps required | array of string | |
summary.suggested_probes required | array of string | Questions worth asking in the next round. |
language required | object or null | |
language.meets_demand required | boolean or null | |
language.summary required | string | |
language.ratings required | array of object | |
language.ratings[].dimension required | string | |
language.ratings[].score required | integer or null | |
language.ratings[].reasoning required | string | |
plan_id required | string | The interview plan the interview was scored against. |
plan_version required | string | |
scored_at required | timestamp or null |
Errors: 401, 402, 404, 409, 422, 429. What each means.
Get a scorecard as a PDF
GET /v1/sessions/{session_id}/scorecard.pdf
The same scorecard as a PDF a person can read, to attach to a record in your system. 409 until it is scored.
Who: Any API key, member or admin.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
session_id required | path | string | The record's id: sess_…. |
Answer 200
The PDF file, application/pdf.
Errors: 401, 402, 404, 409, 422, 429. What each means.
Delete an interview
DELETE /v1/sessions/{session_id}
Deletes the interview, its recording, transcript and scorecard: how a candidate's deletion request reaches Dio from your system. It cannot be undone.
Who: A key whose minter created the role, or an admin key.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
session_id required | path | string | The record's id: sess_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Request body
| Field | Type | Description |
|---|---|---|
reason | candidate_request | recruiter_request | test_data | retention or null | Why it is being deleted, for the audit log. candidate_request if left out. |
Answer 200
| Field | Type | Description |
|---|---|---|
deleted required | true | |
artifacts_removed required | integer | How many stored files were deleted with it. |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
Webhooks
Endpoints Dio posts events to, and what it sent.
List webhook endpoints
GET /v1/webhook-endpoints
The live endpoints: all of them for a signed-in admin, its own for a key.
Who: An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.
Answer 200
| Field | Type | Description |
|---|---|---|
webhook_endpoints required | array of object | |
webhook_endpoints[].id required | string | wh_ and twelve hex characters. |
webhook_endpoints[].url required | string | |
webhook_endpoints[].name required | string or null | |
webhook_endpoints[].events required | array of string | The event types it receives. |
webhook_endpoints[].owner required | object | Who registered it: a person, or an API key. |
webhook_endpoints[].owner.kind required | person | key | |
webhook_endpoints[].owner.id required | string or null | |
webhook_endpoints[].owner.name required | string or null | |
webhook_endpoints[].created_at required | timestamp | |
webhook_endpoints[].secret_rotated_at required | timestamp or null | |
webhook_endpoints[].last_delivery_at required | timestamp or null | |
webhook_endpoints[].last_delivery_status required | string or null |
Errors: 401, 402, 403, 422, 429. What each means.
Register a webhook endpoint
POST /v1/webhook-endpoints
Registers a URL and answers its signing secret, once. Without events it receives session.completed and scorecard.ready.
Who: An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Request body
| Field | Type | Description |
|---|---|---|
url required | string | A public https:// URL on port 443, by hostname. Required. |
events | array of string or null | session.completed and scorecard.ready if left out. Other events are early access. |
name | string or null | Early access. |
Answer 201
| Field | Type | Description |
|---|---|---|
id required | string | wh_ and twelve hex characters. |
url required | string | |
name required | string or null | |
events required | array of string | The event types it receives. |
owner required | object | Who registered it: a person, or an API key. |
owner.kind required | person | key | |
owner.id required | string or null | |
owner.name required | string or null | |
created_at required | timestamp | |
secret_rotated_at required | timestamp or null | |
last_delivery_at required | timestamp or null | |
last_delivery_status required | string or null | |
secret required | string | The signing secret, whsec_…. Shown this once. |
signature_header required | Getdio-Signature | |
verify required | string | How to check a delivery's signature, in a sentence. |
Errors: 400, 401, 402, 403, 409, 422, 429. What each means.
Delete a webhook endpoint
DELETE /v1/webhook-endpoints/{endpoint_id}
Disables the endpoint. Its delivery log stays.
Who: An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_id required | path | string | The record's id: wh_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Answer 200
| Field | Type | Description |
|---|---|---|
deleted required | true |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
Send a test delivery Early access
POST /v1/webhook-endpoints/{endpoint_id}/test
Queues a signed ping delivery to the endpoint. Ten an hour per endpoint.
Who: An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_id required | path | string | The record's id: wh_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Answer 202
| Field | Type | Description |
|---|---|---|
delivery_id required | string |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
Rotate an endpoint's secret Early access
POST /v1/webhook-endpoints/{endpoint_id}/rotate-secret
A new signing secret, answered once. The old one keeps signing beside it for 24 hours.
Who: An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_id required | path | string | The record's id: wh_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Answer 200
| Field | Type | Description |
|---|---|---|
secret required | string | The new whsec_… secret. Shown this once. |
previous_valid_until required | timestamp or null | Until then, deliveries are signed with the old secret too. |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
Replay a delivery Early access
POST /v1/webhook-deliveries/{delivery_id}/replay
Sends a delivery again, as a new delivery of the same event. 409 when its endpoint is disabled.
Who: An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
delivery_id required | path | string | The record's id: whd_…. |
Idempotency-Key required | header | string | A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key. |
Answer 201
| Field | Type | Description |
|---|---|---|
id required | string | The new delivery. |
replay_of required | string | The original delivery. |
Errors: 400, 401, 402, 403, 404, 409, 422, 429. What each means.
List deliveries
GET /v1/webhook-deliveries
What Dio tried to send and what came back, newest first. The filters and cursor are early access.
Who: An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_id | query | string or null | Early access: deliveries to this endpoint. |
status | query | string or null | Early access: pending, sending, delivered or dead. |
event_type | query | string or null | Early access: deliveries of this event type, or ping. |
event_id | query | string or null | Early access: deliveries of this event. |
limit | query | integer or null | How many to return: 1 to 200, default 50. |
cursor | query | string or null | Early access. The previous answer's next_cursor, for the page after it. |
Answer 200
| Field | Type | Description |
|---|---|---|
deliveries required | array of object | |
deliveries[].id required | string | whd_ and twelve hex characters. |
deliveries[].endpoint_id required | string | |
deliveries[].event_type required | string | |
deliveries[].event_id required | string or null | |
deliveries[].replay_of required | string or null | |
deliveries[].status required | string | pending, sending, delivered or dead. |
deliveries[].attempts required | integer | |
deliveries[].response_status required | integer or null | What your endpoint answered last. |
deliveries[].last_error required | string or null | |
deliveries[].created_at required | timestamp | |
deliveries[].delivered_at required | timestamp or null | |
next_cursor required | string or null |
Errors: 400, 401, 402, 403, 422, 429. What each means.
Events
The workspace's event log (early access).
List events Early access
GET /v1/events
The workspace's event log, oldest first, for catching up after an outage or instead of webhooks. Kept 365 days.
Who: Any API key, member or admin.
Early access. Answers 404 until the integrations features are switched on for your workspace. Ask hello@getdio.ai.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
type | query | array of string or null | An event type. Repeat it for more than one. |
since | query | string or null | Where to start, as an ISO-8601 time. Seven days ago if left out. |
after | query | string or null | The last event id you have. Wins over since. |
limit | query | integer | How many to return: 1 to 200, default 50. |
Answer 200
| Field | Type | Description |
|---|---|---|
events required | array of object | |
events[].id required | string | The event's id, evt_…. The same at every endpoint: de-duplicate on it. |
events[].type required | string | |
events[].version required | string | The envelope's format: 2026-10. |
events[].created_at required | timestamp | |
events[].data required | object | |
next required | string or null | Pass as after for the next page; null at the end. |
Errors: 400, 401, 402, 404, 422, 429. What each means.
Account
Who is calling, and what the workspace has used.
Who is calling
GET /v1/me
The workspace the key belongs to, and the key's own name and role. A good first call to check a key works.
Who: Any API key, member or admin.
Answer 200
| Field | Type | Description |
|---|---|---|
workspace required | object | |
workspace.id required | string | |
workspace.name required | string | |
key | object or null | The calling key. Absent for a signed-in session. |
key.id required | string | |
key.name required | string or null | |
key.role required | string |
Errors: 401, 402, 422, 429. What each means.
Get usage
GET /v1/usage
Interview minutes and scoring runs over the period, and the workspace's interviews where it is billed per interview: what an invoice can be checked against.
Who: An admin key.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
days | query | integer | How many days back to count: 1 to 365, default 30. |
Answer 200
| Field | Type | Description |
|---|---|---|
since required | timestamp | |
interview_minutes required | integer or number | |
scoring_runs required | integer | |
interviews | object or null | Present where the workspace is billed per interview. |
interviews.limited required | boolean | false on a plan with no interview limit. |
interviews.used required | integer | |
interviews.left required | integer or null | |
interviews.grants required | array of object | Each open batch of interviews, the first to expire first. |
interviews.grants[].period required | string | month, year, trial or manual. |
interviews.grants[].amount required | integer | |
interviews.grants[].used required | integer | |
interviews.grants[].left required | integer | |
interviews.grants[].expires_at required | timestamp or null |
Errors: 401, 402, 403, 422, 429. What each means.
API keys
Managed by a signed-in admin, never by a key.
List API keys
GET /v1/api-keys
Every key the workspace has minted, revoked ones included.
Who: A signed-in admin only, never an API key. Use Settings → API & webhooks.
Answer 200
| Field | Type | Description |
|---|---|---|
api_keys required | array of object | |
api_keys[].id required | string | key_ and twelve hex characters. |
api_keys[].name required | string | |
api_keys[].prefix required | string | The key's first characters, to tell keys apart. Never the key. |
api_keys[].mode required | string | live or test. Test keys behave exactly like live keys today. |
api_keys[].role required | string | member or admin. |
api_keys[].created_by_user_id required | string or null | |
api_keys[].rate_limit_per_minute required | integer | |
api_keys[].created_at required | timestamp | |
api_keys[].last_used_at required | timestamp or null | |
api_keys[].revoked_at required | timestamp or null |
Errors: 401, 402, 403, 422, 429. What each means.
Create an API key
POST /v1/api-keys
Mints a key and answers its secret, once.
Who: A signed-in admin only, never an API key. Use Settings → API & webhooks.
Request body
| Field | Type | Description |
|---|---|---|
name required | string | What the key is for. One line. Required. |
role | member | admin or null | member if left out. Never more than your own role. |
mode | live | test or null | live if left out. |
rate_limit_per_minute | integer or null | 120 if left out. |
Answer 201
| Field | Type | Description |
|---|---|---|
id required | string | |
name required | string | |
mode required | string | |
role required | string | |
secret required | string | The key: sk_live_… or sk_test_…. Shown this once; it cannot be recovered. |
warning required | string |
Errors: 400, 401, 402, 403, 422, 429. What each means.
Revoke an API key
DELETE /v1/api-keys/{key_id}
Revokes the key and disables the webhook endpoints it registered. Answers the same for an id that is unknown or already revoked.
Who: A signed-in admin only, never an API key. Use Settings → API & webhooks.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
key_id required | path | string | The record's id: key_…. |
Answer 200
| Field | Type | Description |
|---|---|---|
revoked required | true |
Errors: 401, 402, 403, 422, 429. What each means.
Webhook events
Each is delivered as a signed POST of the event envelope; webhooks explains signing and retries.
invite.created Early access
An interview link was made.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
invite_id | string or null | |
job_id | string or null | |
expires_at | timestamp or null | |
emailed | boolean or null | |
source | string or null | api, app or open_link. |
run_id | string or null | The workflow run that made it. |
invite.sent Early access
Dio's invitation email for a link went out.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
invite_id | string or null | |
job_id | string or null | |
sent_at | timestamp or null |
invite.expired Early access
A link expired without being used.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
invite_id | string or null | |
job_id | string or null | |
expired_at | timestamp or null |
invite.revoked Early access
A recruiter revoked a link.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
invite_id | string or null | |
job_id | string or null |
session.started Early access
A candidate started an interview.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
session_id | string or null | |
invite_id | string or null | |
job_id | string or null | |
started_at | timestamp or null |
session.completed
An interview ended.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
session_id | string or null | |
job_id | string or null | |
status | string or null | |
end_reason | string or null | |
duration_minutes | number or null |
session.not_assessed Early access
An interview will get no scorecard without somebody acting.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
session_id | string or null | |
job_id | string or null | |
reason | string or null |
session.deleted Early access
An interview was deleted.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
session_id | string or null | |
invite_id | string or null | |
job_id | string or null | |
reason | string or null |
scorecard.ready
An interview was scored.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
session_id | string or null | |
job_id | string or null | |
scorecard_id | string or null |
review.decided Early access
A reviewer recorded a decision.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
session_id | string or null | |
job_id | string or null | |
decision | string or null | |
scorecard_id | string or null | |
supersedes | string or null |
ats.application_created Early access
A connected ATS reported a new application for a linked role.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
connection_id | string or null | |
job_external_id | string or null | |
external_event_id | string or null | |
occurred_at | timestamp or null |
ats.stage_changed Early access
A connected ATS reported an application moving stage.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
connection_id | string or null | |
job_external_id | string or null | |
external_event_id | string or null | |
occurred_at | timestamp or null | |
stage | object or null | |
stage.id required | string | |
stage.name required | string |
ats.job_opened Early access
A connected ATS reported a published job with no role yet.
| Field | Type | Description |
|---|---|---|
references | array of object or null | |
references[].system required | string | The system the id is from, as you named it: greenhouse. |
references[].kind required | string | candidate, application or job. |
references[].external_id required | string | The id in that system. |
references[].url required | string or null | A link to the record in that system, if you sent one. |
connection_id | string or null | |
job_external_id | string or null | |
job_title | string or null | |
external_event_id | string or null | |
occurred_at | timestamp or null |