Quickstart
Three calls take you from a new key to candidates holding their interview links.
- 01
Create a key
Open API access in your dashboard and create a key. Use a test key while you build.
- 02
Check the key
Call
GET /auth/verify/to confirm the key works. - 03
Create an interview, then add candidates
Create the interview once, then send candidates to it one at a time or in bulk.
Authentication
Send your key in the Authorization header as a bearer token on every request. All requests use HTTPS and JSON.
Keep keys on your server. Never put a key in browser or mobile app code. If a key leaks, delete it from API access and create a new one.
API access is part of the Enterprise plan. Talk to us to turn it on.
Verify your key
Returns 200 when the key is valid. Use it as a health check when your integration starts.
curl https://intervue.ai/api/v1/auth/verify/ \
-H "Authorization: Bearer intv_live_xxxxxxxx"{
"valid": true
}Create an interview
Creates an interview that candidates can be added to. Keep the returned id; you need it to add candidates.
curl -X POST https://intervue.ai/api/v1/interviews/ \
-H "Authorization: Bearer intv_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"title": "Senior Backend Engineer"}'{
"id": "9b2f6c1e-4d7a-4f0e-8a31-5c6d2e1f7a90",
"title": "Senior Backend Engineer"
}Add candidates
Adds candidates to an interview. Send one candidate or many in the same request. Each candidate gets a personal interview link.
curl -X POST https://intervue.ai/api/v1/interviews/$INTERVIEW_ID/candidates/ \
-H "Authorization: Bearer intv_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"candidates": [{"name": "Ama Mensah", "email": "ama@example.com"}, {"name": "Kofi Boateng", "email": "kofi@example.com"}]}'{
"created": 2,
"candidates": [
{
"id": "c41d8e52-0b6a-4c2f-9d17-7e3a5b8f1a26",
"email": "ama@example.com",
"interview_link": "https://intervue.ai/interview/…"
}
]
}Errors
Failed requests return a standard status code and a JSON body that says what went wrong.
Stuck on an integration?
Write to us with what you are building and an engineer will reply.