---
title: "Extract Candidate From Resume"
method: POST
path: "/api/interviews/extract-from-resume"
tags: ["Interviews"]
---

# Extract Candidate From Resume

`POST /api/interviews/extract-from-resume`

## 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/extract-from-resume`
- Auth: HTTP bearer

Extract candidate information from resume file (PDF/DOCX) using AI

This endpoint allows extraction BEFORE creating the interview.
Upload a resume and get candidate info back immediately.
Requires: admin or recruiter role

## Response `200`

Successful Response

- ExtractCandidateInfoResponse: Response with extracted candidate information from resume
  - `success` boolean, required
  - `name` string, nullable, required
  - `email` string, nullable, required
  - `phone` string, nullable, required
  - `resume_text` string, nullable
  - `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)
