Unreleased
Added
- Organization and directory reads.
GET /v2/organizationreturns the organization your key belongs to and the settings that decide whether your requests succeed: enabled channels, the number candidates see, accepted phone regions, rate limit and webhook state.GET /v2/branches,GET /v2/usersandGET /v2/tagslist the rest of your organization’s directory. - Pipeline sync across jobs.
GET /v2/applicationslists every application in the organization, filterable byjob_id,stage,outcome,status,source,updated_since,created_afterandcreated_before, withcursorpagination.GET /v2/jobs/{jobId}/stageslists a job’s stage names andPUT /v2/applications/{applicationId}/stagemoves an application into one. - Candidate activity, notes and attachments.
GET /v2/candidates/{candidateId}/activity,/notesand/attachments. Attachments carry a short-lived signedurl. - Call recording download.
GET /v2/calls/{callId}/recordingstreams the audio behind your API key.recording_urlon calls and candidates expires, so use this endpoint when you need to keep or replay a recording. - Webhook delivery log.
GET /v2/webhooks/eventslists outbound deliveries, filterable bystatus,typeandcreated_since.GET /v2/webhooks/events/{eventId}returns the exact signed envelope while it is retained. - Job links. Job list and detail return
slugandjob_url, the candidate-facing job page.GET /v2/jobs/{jobId}also returnsupdated_at. external_idandcall_idonPOST /v2/candidates. Passexternal_idto store your own applicant id (returned asremote_application_id/remote_candidate_id). When outreach is sent the response includescall_id, matchingPOST /v2/callsand v1. The409duplicate response now documents itsdata(candidate_id,webcall_url,interview_panel_url).- Webhook payloads in the OpenAPI spec.
WebhookEnvelopeand each event’sdataschema are published as components. See v2 events. - Hosted MCP server and agent guides. The read-only MCP server is hosted at
https://mcp.classet.ai/mcp, with setup for Claude Code, Cursor, VS Code, Codex and Claude Desktop in MCP server. Two new guides: Build with an AI agent and Connect Classet to your ATS. - MCP
migrate_from_v1prompt. The read-only MCP server now offers a prompt that walks an agent through moving a v1 integration to v2: the guide, the migration skill, and the changes that break integrations silently. - Script variable fallbacks. A script variable can name what to say when the value is missing:
{candidate.custom_data.cpm|the standard rate}. Ajob.custom_datavariable with a fallback no longer blocks assigning the script to a job that lacks the field.
Changed
- Agent settings describe the voice your calls use.
GET /v2/agent-settingsnow returnsagent_name,voice_id,voice_model,voice_speed,pronunciationsandavailable_voices. Nine fields are removed (voice_temperature,volume,language,responsiveness,interruption_sensitivity,reminder_trigger_ms,reminder_max_count,end_call_after_silence_ms,max_call_duration_ms), and the endpoint no longer returns404for an organization without a provisioned agent.PATCH /v2/agent-settingsacceptsagent_name,voice_id(one ofavailable_voices),voice_speed(0.9to1.2) andpronunciations; any other field returns400. It needs an API key with thewritescope, and no longer returns503. Calls that still run on Classet’s earlier voice system, such as interviews in a language other than English, use onlyagent_namefrom these settings. - An invalid API key always returns 403. Repeated requests with an unknown key from one IP used to switch to
429after three attempts a minute. They now get403 Invalid API keyevery time, so treat a403as a key problem and don’t retry it. - Interviews record the job’s script. Call and candidate endpoints that start an interview now save the job’s script on the interview as a custom script.
- Candidates delta sync now sees interview changes.
GET /v2/candidates?updated_since=compares against a newchanged_atfield, the later of the candidate record’supdated_atand the newest change to any of its interview calls. Previously it compared againstupdated_atonly, so results, transcripts, tags and evaluations landing on an existing candidate did not move the cursor.changed_atis returned on every candidate (list and detail). Advance your cursor to a pre-poll timestamp minus a 5-minute safety lag, not tomax(changed_at); see Pagination and delta sync. - Applications delta sync now sees interview changes.
GET /v2/applicationsandGET /v2/jobs/{jobId}/applicationsfilterupdated_sinceonchanged_atinstead ofupdated_at, the same field the candidate list uses, and returnchanged_aton every application. A poll can now return more rows, including ones whoseupdated_atis older thanupdated_since. Advance your cursor to a pre-poll timestamp minus 5 minutes, not tomax(updated_at). outcomeis validated. On both application lists,outcomemust be an interview outcome value (qualified,unqualified,completed, …). An unknown value such aspassreturns400instead of an empty page.{jobId}accepts a v1 shortcode onGET /v2/jobs/{jobId},/stagesand/applications, like every otherjob_id.- Invite-limit errors match across send routes.
POST /v2/callsreturns the same429body asPOST /v2/candidates(error: "Interview invite limit exceeded", details inmessage), and every503 rate_limit_unavailablecarriesRetry-After: 30. The429is documented asInviteLimitError.ErrorResponse.codeis now a documented enum of the existing codes. - Test Webhook sends a signed v2 envelope.
POST /v2/webhooks/testwithtype: "event"sends awebhook.testenvelope signed like a live event, so a verifying endpoint answers 2xx. - v1
force_createtreats a quick re-post as a retry.POST /v1/candidateswithforce_create: truefor the same email and job (the same phone number and job when the post has no email) within 12 hours of a candidate an earlierPOST /v1/candidatescreated now returns that candidate withreplayed: trueandinterview_sent, instead of creating another and sending another invite. It answers200when the request asks for no outreach or the candidate was sent an interview,201otherwise; a retry never sends anything, so send a missing interview withPOST /v1/candidates/{candidateId}/interview. Outside the 12 hours, or when the existing candidate came from anywhere else,force_createcreates a new candidate as before. Withoutforce_create, a post with no email now gets409when a candidate with the same phone number exists on the job. The409errortext changed; match on the status code, not the text.
Fixed
POST /v2/candidatesandPATCH /v2/candidates/{candidateId}now storelocation.region_codeandlocation.country_code, asPOST /v2/callsalready did. Before, both were dropped without an error, as they were onPOST /v1/candidates.created_after,created_before,interview_sent_afterandinterview_sent_beforeon the application lists accept a full ISO-8601 timestamp. Before, a timestamp had a time suffix appended and the filter broke; a bare date now covers the whole day.application.createdis no longer sent for a candidate whose outreach failed to queue and was rolled back.- Moving an application to the stage it is already in no longer sends
application.stage_changed. - A candidate hired, un-hired and hired again sends
candidate.hiredboth times. - A v2 webhook whose first publish failed is retried by the delivery sweep instead of being dropped. One QStash refuses outright (a 4xx other than
429) is dropped after one retry instead of being retried on every sweep; a429is retried. - If outreach can’t be confirmed as queued (a timeout or 5xx from the queue),
POST /v2/candidates,POST /v2/callsandPOST /v2/candidates/{candidateId}/interviewcan return500with thecandidate_idand keep the candidate. Check it before retrying; the interview may already be on its way. POST /v2/candidates/{candidateId}/stop-interviewstops an interview that is queued but hasn’t reached the candidate yet, and it is never sent. Sending it again afterwards withPOST /v2/candidates/{candidateId}/interviewclears the stop and sends.next_cursoris no longernullmid-list when a page ends on a candidate with nocreated_at, which ended cursor walks early on both candidate and application lists.created_afterandcreated_beforeonGET /v2/applicationsreject2026-13-01and non-ISO values such as1with a 400. Before, the first was a 500 and the second was sent to the database as-is.PATCH /v2/applications/{applicationId}no longer sendsapplication.stage_changedfor a stage that only differs in letter case, matchingPUT /stage.GET /v2/jobsandGET /v2/jobs/{jobId}returned 500 for every request.GET /v2/calls/{callId}/recordingand outbound webhooks returned 502 for every caller, because of a server-side runtime change.created_afterandcreated_beforereject impossible dates such as2026-02-30with a 400. Before, they shifted silently to the next valid day or returned a 500.
v2.0.3 — 2026-04-13
- security: fix PostgREST filter injection and harden auth fallback
v2.0.2 — 2026-04-13
- Update for SEO
v2.0.1 — 2026-04-13
- Update for SEO
v2.0.0 — 2026-04-11
Initial release of the Classet v2 API.Added
- OpenAPI 3.1 specification generated from the code, published with this API reference
- Jobs: full CRUD (list, get, create, update, delete)
- Candidates: list, get, update, message history
- Applications: list by job, get, update, disqualify
- Calls: register, get details with transcript/recording, list by candidate
- Scripts: full CRUD plus duplicate and task management
- Knowledge base: CRUD for FAQs, context, and documents
- AI generation: generate jobs, scripts, and full company onboarding
- Webhooks: configure event and results webhook URLs, test delivery
- API key authentication via
X-API-KEYheader (same keys as v1) - Standard response envelope
{ data, meta }across all endpoints - OpenTelemetry tracing with
X-Request-IdandX-Trace-Idheaders - MCP server for AI agent integration, in development. It is not yet published as a package; see MCP server