Early access
Dio API features that answer only once they are switched on for your workspace: named links, ATS references, link lookups, paging, the event log and more.
The features on this page work, but answer only in workspaces they have been switched on for. To ask for one, write to hello@getdio.ai and say which features and which workspace.
Early-access features may change before they are generally available. Changes to them are listed in the Changelog.
When a feature is off
Where a feature on this page has not been switched on for your workspace:
- its routes answer
404, as routes that don't exist; - its fields and parameters answer
400, with adetailthat names them. They are refused rather than ignored, so you never think a field took effect when it didn't.
Links made out to a person
createInterviewLink can also take who the link is for:
| Field | Meaning |
|---|---|
email |
The candidate's address. The registration form opens with it filled in and fixed, since the link belongs to that address. |
first_name, last_name |
Optional, up to 100 characters each. Filled in on the registration form for the candidate to correct. |
lifetime_days |
How long the link lasts: 3, 7 or 14. 7 if left out. |
send |
With email, true makes Dio email the invitation to that address. |
{"email": "sam.example@example.com", "first_name": "Sam", "last_name": "Example", "lifetime_days": 7, "send": true}
The role's Invites tab in Dio lists the link under the candidate's name. The answer is the same as for any link: the name and address are not sent back. Without an email, the link is the ordinary one, lasting 72 hours.
| Status | When |
|---|---|
400 |
The address doesn't look like one, a name is over 100 characters, lifetime_days isn't one of the three values, or send isn't a boolean or comes without an email. |
409 |
The address already has a working link for this role, or has already started its interview. With send: no company name is set for candidates to see, or invitation email is switched off for the workspace. |
429 |
With send: the daily limit of invitation emails is reached. |
ATS references and duplicate requests
createInterviewLink can also carry your ATS's own ids, and say what to do when the person already has a link:
{
"references": {
"system": "greenhouse",
"candidate_id": "123",
"application_id": "456",
"job_id": "789",
"url": "https://app.greenhouse.io/people/123"
},
"on_duplicate": "reuse"
}
references is one object:
system, a lowercase name you choose for your system, such asgreenhouseorcustom;- at least one of
candidate_id,application_idandjob_id, as text of up to 200 characters; - optionally
url, anhttps://link to the record in your system, up to 2,000 characters. Dio shows it as a link and never fetches it.
An unknown key in the object is a 400. Each id becomes one reference on the link. When the candidate starts, the references are copied onto the interview, so both records answer with "references": [{"system", "kind", "external_id", "url"}], and every event about them carries the same list. kind is candidate, application or job.
on_duplicate says how a second request for the same person is answered. It is not a replacement for the Idempotency-Key, which handles a retry of the same request; it handles the same trigger arriving twice, as two different requests. With references it is reuse unless you send create; without either field, a request is answered as it always was, with a 409 for an address that has a working link or a started interview. Dio looks for the person on this role by the references first (the application, then the candidate) and by email address last:
| Found | reuse |
create |
|---|---|---|
| Nothing, or only links that expired, were revoked, or started an interview since deleted | 201, a new link |
201, a new link |
| A live link | 200, that link with its url again and "reused": true; nothing is made or emailed |
201, a new link, or 409 if the email address is the same |
| A link that started an interview that still exists | 409, with invite_id and session_id beside detail |
201, a new link, for a deliberate second interview |
Reading links back
Any key can read interview links back. A link is answered as ids, a state and times: never the candidate's name, address or the link's URL.
| Route | Answers |
|---|---|
listRoleInterviewLinks, GET /v1/jobs/{job_id}/invites |
The role's links, newest first, a page at a time. status narrows them. |
listInterviewLinks, GET /v1/invites |
Links across the workspace. system finds links carrying any reference from that system; application_id or candidate_id finds the link carrying that id, and needs system too. |
getInterviewLink, GET /v1/invites/{invite_id} |
One link. |
readInterviewLinkUrl, POST /v1/invites/{invite_id}/link |
The URL of a live link, again. Allowed for a key whose minter created the role, or an admin key. Like any POST, it needs an Idempotency-Key. Each read is entered in the audit log. 409 for a link that is not live: make a new one. |
A link has id, job_id, label, status (live, used, expired or revoked), created_at, expires_at, sent_at (when Dio emailed the invitation), used_at, session_id (the interview it started) and references.
Filtering and paging interviews
listInterviews also takes these parameters:
| Parameter | Finds |
|---|---|
system, application_id, candidate_id |
Interviews by their ATS references. |
invite_id |
The interview a link started. |
status |
created or completed. |
scoring_status |
queued, transcribing, scoring, scored, failed or skipped. |
since |
Interviews started at or after this ISO-8601 time. |
limit, cursor |
Paging. |
With any of them, the answer is a page with next_cursor. Without them, the route answers as it always has: every interview of the role with job_id, or the workspace's newest 200.
Paging
The paged lists take limit, from 1 to 200 and 50 if left out. Each answer carries next_cursor: pass it as cursor for the next page. It is null on the last page. A cursor is opaque and works only in your workspace; one that doesn't open answers 400, "cursor is not valid". Links are ordered newest first by when they were made, interviews by when they started.
The event log
listEvents, GET /v1/events, reads the workspace's events oldest first: the same events webhooks deliver, in the same envelope, for catching up after an outage or for polling instead of webhooks. Here created_at is when the event happened. Events are kept 365 days.
| Parameter | Meaning |
|---|---|
type |
An event type. Repeat it for more than one. An unknown type answers 400. |
since |
Where to start, as an ISO-8601 time. Seven days ago if left out. |
after |
The last event id you have. Wins over since. An id that is not an event in your workspace answers 400. |
limit |
1 to 200, default 50. |
The answer is {"events": [...], "next": "evt_…"}. Pass next as after for the following page; it is null at the end.
More webhook events
Beyond session.completed and scorecard.ready, an endpoint can subscribe to every event in the catalogue: links made, sent, expired and revoked, interviews started, not assessed and deleted, reviewers' decisions, and events from a connected ATS. Ask for them by name in events when you register the endpoint.
Admin keys registering endpoints
An admin key can register webhook endpoints with createWebhookEndpoint. The endpoint belongs to the key:
- the key lists, deletes, tests and replays only the endpoints it registered, and another endpoint's id answers
404; - a key may own up to 25 live endpoints, and the 26th answers
409; - revoking the key disables its endpoints, and so does removing the person who minted it.
A member key is refused with 403. A signed-in admin in Settings → API & webhooks still sees and manages every endpoint in the workspace.
Endpoint names
createWebhookEndpoint takes an optional name, up to 80 characters, which lists show instead of the URL's host.
Test deliveries
testWebhookEndpoint queues a delivery with Getdio-Event: ping, signed and retried like any other, and answers 202 with its delivery_id. The body:
{
"id": "whd_9a3c5e7b1d20",
"type": "ping",
"version": "2026-10",
"created_at": "2026-11-20T15:30:00+00:00",
"data": {"endpoint_id": "wh_4b6d8f0a2c1e", "requested_by": "api"}
}
A ping has no event behind it, so its id is the delivery's. Each endpoint takes ten test deliveries an hour, and the eleventh answers 429. You can't subscribe to ping.
Secret rotation
rotateWebhookSecret answers a new signing secret, shown once, and previous_valid_until: 24 hours on. Until then every delivery's header carries two digests, t=…,v1=<new>,v1=<old>, so move your receiver to the new secret within the day. The verify functions accept a delivery if any v1 matches. Rotating again within the day replaces the previous secret rather than keeping two.
Replaying a delivery
replayWebhookDelivery sends a delivery's payload to the same endpoint again, now, and answers 201 with the new delivery's id and replay_of, the original delivery (the original even when you replay a replay). It answers 409 when the endpoint is disabled. The body's id is still the event's, so a receiver that de-duplicates on it sees nothing new. Use it to resend dead deliveries once your endpoint is fixed.
Filtering and paging the delivery log
listWebhookDeliveries also takes endpoint_id, status (pending, sending, delivered or dead), event_type (an event type, or ping), event_id, and cursor for the next page. An unknown status or event_type answers 400. A key sees only the deliveries to its own endpoints.