Quick start
Five steps from nothing to a finished screen. Use a test key: calls go to a simulated phone line and cost nothing.
Step 1: Create a key
In Settings → Developers, choose Create key, pick Test and the scopes you need. Copy the key; you see it once.
export HRVOICE_API_KEY=hrv_test_...Step 2: Add a job
Its must-ask questions are asked on every screen for this job.
curl -X POST https://nexstopp.com/backend/v1/jobs \
-H "Authorization: Bearer $HRVOICE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: job-warehouse-supervisor" \
-d '{
"title": "Warehouse Supervisor",
"mustAskQuestions": ["What is your notice period?", "Can you work night shifts?"]
}'Step 3: Add candidates, with their consent
Send "consent": true only when the candidate has agreed to a screening call. Sending the same externalId again updates that candidate instead of adding a second one. Send up to 100 at once as {"candidates": [...]}.
curl -X POST https://nexstopp.com/backend/v1/jobs/$JOB_ID/candidates \
-H "Authorization: Bearer $HRVOICE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: ats-42" \
-d '{
"fullName": "Asha Rao",
"phone": "9000000101",
"externalId": "ats-42",
"consent": true
}'Step 4: Start a call
The call is queued straight away. Outside calling hours it is scheduled for 9:00 IST the next morning.
curl -X POST https://nexstopp.com/backend/v1/jobs/$JOB_ID/candidates/$CANDIDATE_ID/calls \
-H "Authorization: Bearer $HRVOICE_API_KEY" \
-H "Idempotency-Key: call-ats-42-1"
# 202 Accepted
# { "id": "…", "status": "queued", "notBefore": null, "result": null, … }Step 5: Receive call.completed
Add a webhook endpoint in Settings → Developers, or with POST /v1/webhook-endpoints. When the call ends we POST the result to it. You can also poll GET /v1/calls/{id}.
Authentication
Send your key as a Bearer token on every request: Authorization: Bearer hrv_live_…. Keys belong to your company, not to one person’s login, and stop working the moment they are revoked.
A key can do only what its scopes allow, and never more than the person who created it. If that person leaves your workspace, their keys stop working.
- jobs
- Create, change and list jobs and their must-ask questions.
- candidates
- Add and read candidates, including their phone numbers.
- calls
- Start screening calls and check how they went.
- results
- Read answers, summaries, transcripts and recordings.
- webhooks
- Add and remove webhook endpoints and read the delivery log.
- usage
- Read calls placed and completed screens for a month.
- support
- Raise support tickets with us, read them and reply.
Keep keys on your server. Never put one in a web page or a mobile app.
Idempotency
Every write accepts an Idempotency-Key header (up to 255 characters). If you send the same key, method and path again within 24 hours, you get the first answer back and nothing happens twice: no second candidate, no second call. Use something stable from your side, like your applicant id. The SDKs send one for you and reuse it when they retry.
If the first request is still running you get 409 idempotency_in_progress; retry after a moment.
Rate limits and call limits
- Requests: 600 a minute per key. Over that you get
429 rate_limited. - Calling hours: calls are placed between 9:00 and 20:00 India time (IST). A call requested outside those hours waits until 9:00.
- Consent: every candidate needs
"consent": true. Without it you get422 consent_required, and nobody is called. - Do Not Disturb: once our phone carrier’s DND lookup is connected, numbers on India’s Do Not Disturb register are skipped: the call ends as
skippedwith reasondnd, and you getcall.failed. Until then, consent is your check. - Call limits: each company has a limit on calls a day (50 to start), calls at the same time (3) and, if agreed, a monthly cap. Over a limit you get
429 call_limit_reachedwithdetails.resetsAt, and no call is placed. Ask us to raise them.
Webhooks
We POST a JSON event to each of your endpoints that subscribed to it. Answer with any 2xx within 10 seconds. If you don’t, we retry with growing gaps for up to 24 hours. Every attempt is in the delivery log in Settings → Developers, where you can send any finished one again. Redirects are not followed.
- call.completed
- A screen finished: answers, summary and transcript.
- call.failed
- A call could not go ahead: no answer, voicemail, skipped or an error.
- ticket.updated
- A support ticket you raised got a reply or changed status.
Payload
Headers: HRVoice-Signature, HRVoice-Event and HRVoice-Delivery (the delivery id; the same on a resend, so you can ignore repeats). Events carry ids and facts, never hiring advice.
{
"id": "evt_3b0f6c2e-…",
"type": "call.completed",
"createdAt": "2026-10-21T10:42:07.000Z",
"data": {
"callId": "8f9d…",
"jobId": "1c2e…",
"candidateId": "5a7b…",
"externalId": "ats-42",
"isTest": true,
"result": {
"status": "completed",
"startedAt": "2026-10-21T10:38:30.000Z",
"endedAt": "2026-10-21T10:42:04.000Z",
"durationSeconds": 214,
"answers": [
{ "questionId": "q1", "question": "What is your notice period?", "answer": "30 days" }
],
"summary": "Asha has five years in warehouse operations and can join in 30 days.",
"transcript": [{ "role": "agent", "message": "Hello Asha, …" }],
"recordingUrl": "https://nexstopp.com/backend/v1/calls/8f9d…/recording"
}
}
}Check the signature
HRVoice-Signature: t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of "<t>.<raw body>" keyed with your endpoint’s signing secret (whsec_…, shown once when you add it). Check it against the raw body before you parse it, and refuse old timestamps.
import express from 'express';
import { verifyWebhook, WebhookVerificationError } from '@hrvoice/sdk';
const app = express();
// The raw body, not parsed JSON: the signature covers the exact bytes we sent.
app.post('/hrvoice/webhook', express.raw({ type: 'application/json' }), async (req, res) => {
try {
const event = await verifyWebhook(req.body, req.get('HRVoice-Signature'), process.env.HRVOICE_WEBHOOK_SECRET!);
if (event.type === 'call.completed') console.log(event.data.result.summary);
res.sendStatus(204);
} catch (err) {
if (err instanceof WebhookVerificationError) return res.sendStatus(400);
throw err;
}
});import os
from flask import Flask, abort, request
from hrvoice import WebhookVerificationError, verify_webhook
app = Flask(__name__)
@app.post("/hrvoice/webhook")
def hrvoice_webhook():
try:
event = verify_webhook(
request.get_data(), # the raw body
request.headers.get("HRVoice-Signature"),
os.environ["HRVOICE_WEBHOOK_SECRET"],
)
except WebhookVerificationError:
abort(400)
if event["type"] == "call.completed":
print(event["data"]["result"]["summary"])
return "", 204import { createHmac, timingSafeEqual } from 'node:crypto';
// header: "t=1761043327,v1=5f2c…" rawBody: the request body exactly as received
export function isFromHRVoice(rawBody: string, header: string, secret: string): boolean {
const parts = Object.fromEntries(header.split(',').map((p) => p.trim().split('=')));
const expected = createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
const given = Buffer.from(parts.v1 ?? '', 'utf8');
const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) <= 300; // refuse replays
return fresh && given.length === expected.length && timingSafeEqual(given, Buffer.from(expected, 'utf8'));
}Test mode
Keys that start with hrv_test_ work exactly like live keys, but every call goes to a simulated phone line: a pretend candidate answers through the real voice agent, so you get real answers, a summary and a transcript. Test calls are free, never count towards your usage, and everything they create is marked as test (isTest: true in events). The test line takes up to 100 calls a day, 3 at once.
Switch to a live key when you are ready. Nothing else in your code changes.
SDKs
Both SDKs are typed from the OpenAPI file, send idempotency keys, retry rate limits and server errors, and include the webhook check.
TypeScript and JavaScript
Node 20+, Deno, Bun and edge workers. No dependencies.
npm install @hrvoice/sdkimport { HRVoice, HRVoiceError } from '@hrvoice/sdk';
const hv = new HRVoice({ apiKey: process.env.HRVOICE_API_KEY!, baseUrl: 'https://nexstopp.com/backend' });
const job = await hv.createJob({ title: 'Warehouse Supervisor', mustAskQuestions: ['What is your notice period?'] });
const cand = await hv.addCandidate(job.id, { fullName: 'Asha Rao', phone: '9000000101', externalId: 'ats-42', consent: true });
try {
const call = await hv.startCall(job.id, cand.id);
console.log(call.status); // "queued", or "scheduled" outside calling hours
} catch (err) {
if (err instanceof HRVoiceError && err.code === 'call_limit_reached') console.log('Try again at', err.resetsAt);
else throw err;
}
// Later, or in your call.completed handler:
const result = await hv.getResults(job.id, cand.id); // answers, summary, transcriptPython
pip install hrvoiceimport os
from hrvoice import HRVoice, HRVoiceError
hv = HRVoice(api_key=os.environ["HRVOICE_API_KEY"], base_url="https://nexstopp.com/backend")
job = hv.create_job({"title": "Warehouse Supervisor", "mustAskQuestions": ["What is your notice period?"]})
cand = hv.add_candidate(job["id"], {"fullName": "Asha Rao", "phone": "9000000101", "externalId": "ats-42", "consent": True})
try:
call = hv.start_call(job["id"], cand["id"])
except HRVoiceError as err:
if err.code == "call_limit_reached":
print("Try again at", err.resets_at)
else:
raise
result = hv.get_results(job["id"], cand["id"])
# AsyncHRVoice has the same methods, awaited.MCP
Let an AI assistant run screens for you: “add these three people to the Warehouse Supervisor job and call them”. The HRVoice MCP server runs on your computer with your API key. Start with a test key.
Claude Desktop
Add this to claude_desktop_config.json (on a Mac, in ~/Library/Application Support/Claude/; on Windows, in %APPDATA%\Claude\), then restart Claude.
{
"mcpServers": {
"hrvoice": {
"command": "npx",
"args": ["-y", "@hrvoice/mcp"],
"env": {
"HRVOICE_API_KEY": "hrv_test_...",
"HRVOICE_API_URL": "https://nexstopp.com/backend"
}
}
}
}Claude Code
claude mcp add hrvoice \
--env HRVOICE_API_KEY=hrv_test_... \
--env HRVOICE_API_URL=https://nexstopp.com/backend \
-- npx -y @hrvoice/mcpTools
- create_job
- Create a job with must-ask questions and a screening language.
- list_jobs
- List your company’s jobs.
- add_candidates
- Add 1 to 100 candidates. The assistant must confirm they agreed to be called.
- start_call
- Queue a screening call for one candidate.
- get_call
- A call’s status, and its result once it ends.
- get_results
- The latest answers and summary, with the transcript on request.
- list_candidates
- One page of a job’s candidates.
- get_usage
- Calls placed and completed screens for a month.
Careers page form
No developer needed. Open a job in HRVoice, find Put this job on your careers page, type the website your careers page is on, and paste the line it gives you into the page. Applicants see an “Apply with a quick call” form: name, Indian mobile number, optional email, and a consent box for an automated screening call. Each one becomes a candidate on that job, and the call follows.
<script src="https://nexstopp.com/embed.js" data-key="hrv_pub_..." async></script>
<div data-hrvoice-apply></div>- The
hrv_pub_key is safe to publish. It belongs to one job and can only add an applicant to that job and ask for their call. It can’t read candidates, results or anything else, and it isn’t an API key. - It works only on the websites you list (exact addresses, such as
https://acme.inandhttps://www.acme.in). Turning the form off on the job page stops it at once. - Calls are placed between 9:00 and 20:00 India time; anyone applying later is told the call comes after 9 am. Your company’s call limits apply, and the Do Not Disturb rule above applies too.
- The page never shows answers, scores or results. Those stay in your dashboard and webhooks.
- The form sits in its own shadow DOM, so your site’s styles can’t break it. Add
data-accent="#0B6E4F"to the script tag to colour the button. Put thedivwhere the form should appear; leave it out and the form appears after the script. For several jobs on one page, give eachdivits owndata-key. - Limits: 5 applications a minute from one visitor and 20 a minute per form. A test job’s form calls the simulated phone line, like a test key.
No-code tools
Connect HRVoice to the tools your team already uses, without writing code. Each one works through this same API: create a key in Settings → Developers with the jobs, candidates, calls, results, webhooks and support scopes, and paste it in when the tool asks.
- Adding a candidate has a yes/no field for the candidate’s consent. HRVoice refuses the candidate without it.
- Calls started from these tools are placed between 9:00 and 20:00 India time. Outside those hours they wait until 9:00.
- The call-ended trigger brings the answers, summary and transcript, never a score.
- Zapier
- Add a step, search for HRVoice and connect it with your API key. Triggers: Call completed, Call failed. Actions: Add candidate, Start screening call, Raise support ticket, Create job. Search: Find candidate.
- Make
- Add the HRVoice app to a scenario and create a connection with your API key. Watch call events (instant), Add a candidate, Start a screening call, Raise a support ticket, Create a job, Find a candidate.
- n8n
- In Settings → Community nodes, install n8n-nodes-hrvoice, then add an HRVoice API credential with your key. HRVoice Trigger (call completed, call failed) and the HRVoice node: add candidate, start screening call, raise support ticket, create job, find candidate.
- Power Automate
- Add the HRVoice connector to a flow. When it asks for the API key, type Bearer, a space, then your key. Trigger: When a screening call ends. Actions: Add candidate, Start screening call, Raise support ticket, Create job, Find candidates, Get call, Get results.
If a tool does not list HRVoice in its app directory yet, ask us through Get help in your dashboard and we will send an invite link or the connector file. Start with a test key: test calls are free.
Errors
Every error has the same shape. Quote request_id if you contact us.
{
"code": "validation_failed",
"message": "fullName is required",
"request_id": "…",
"errors": [{ "field": "fullName", "message": "fullName is required" }]
}| Code | HTTP | What it means |
|---|---|---|
| unauthorized | 401 | The key is missing, wrong or revoked. |
| forbidden | 403 | The key doesn’t have the scope for this, or its creator lost access. |
| not_found | 404 | No such job, candidate, call or endpoint in your company. |
| conflict | 409 | The request clashes with the current state, such as a call already running. |
| link_phone_conflict | 409 | That phone number already belongs to another candidate on this job. |
| gone | 410 | The candidate link was used or has expired. |
| validation_failed | 422 | A field is missing or wrong; errors[] names each one. |
| consent_required | 422 | Candidates need "consent": true before they can be added. |
| agent_required | 409 | Your company needs one published hiring voice before jobs can be created. |
| idempotency_in_progress | 409 | A request with the same Idempotency-Key is still running. Retry shortly. |
| delivery_in_progress | 409 | That webhook delivery is still being retried. |
| rate_limited | 429 | Too many requests for this key. Wait and retry. |
| call_limit_reached | 429 | Your daily, concurrent or monthly call limit is reached. details.resetsAt says when it lifts. |
| test_call_limit_reached | 429 | The test line’s limit (100 a day, 3 at once) is reached. details.resetsAt says when it lifts. |
| service_unavailable | 503 | The call couldn’t be queued just now. Retry shortly. |
| closed_in_ats | 409 | The candidate is rejected, hired or closed in your connected Zoho Recruit, so they can’t be called. |
| internal | 500 | Something failed on our side. Quote request_id if you contact us. |
API reference
Every route, read from the OpenAPI file. Paths are relative to https://nexstopp.com/backend. Writes marked idempotent take an Idempotency-Key.
The reference couldn’t be loaded just now. The OpenAPI file describes every route.