---
title: "Confirm Speaker Roles Endpoint"
method: POST
path: "/api/interviews/{interview_id}/confirm-roles"
tags: ["Interviews"]
---

# Confirm Speaker Roles Endpoint

`POST /api/interviews/{interview_id}/confirm-roles`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/interviews/{interview_id}/confirm-roles`
- Auth: HTTP bearer

Answer the "who was the candidate?" question for an interview whose
transcript participants couldn't be confidently matched to the
scheduled candidate. Re-tags the transcript with the confirmed
roles and queues the analysis that was paused — or, for a no-show,
voids the interview so no score is fabricated.

Requires admin or recruiter role.

## Path parameters

- `interview_id` string, uuid, required

## Request body

- ConfirmSpeakerRolesRequest: Resolve a pending speaker-role confirmation (Phase 2 fail-loud — docs/PLAN-human-interview-recall-diarization.md). Exactly one of: - candidate_speaker: display name of the participant the recruiter identifies as the candidate (must match a transcript speaker), - candidate_not_present: true — candidate never joined; the interview is voided (reason candidate_no_show), never scored.
  - `candidate_speaker` string, nullable
  - `candidate_not_present` boolean

## Response `200`

Successful Response

- ConfirmSpeakerRolesResponse
  - `success` boolean, required
  - `interview_id` string, required
  - `speaker_roles_needs_confirmation` boolean, required
  - `candidate_speaker` string, nullable
  - `candidate_not_present` boolean
  - `roles` object, nullable
  - `analysis_queued` boolean
  - `message` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
