---
title: "Get Coding Problem"
method: GET
path: "/api/interview/join/{token}/coding/problem"
tags: ["interview-join"]
---

# Get Coding Problem

`GET /api/interview/join/{token}/coding/problem`

## 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/interview/join/{token}/coding/problem`
- Auth: none declared

Fetch the candidate-safe coding problem for this interview's
coding SKILL round. The FE polls this every few seconds while in the
call; the editor opens automatically the moment this returns 200.

204 means "no editor right now" — the FE stays in voice mode.
Independent 204 paths:
  - The interview has no job_role_id attached.
  - interviewer_type != 'brain'.
  - The interview is not a skill round (metadata.skill absent).
  - The round's skill has no `tool="code_editor"` stage — product_sense,
    system_design and the other five non-coding skills never get an editor.
  - The brain is not yet at the intro / code_editor tool stage.
  - The codeval sandbox preflight failed (fail-before-hand-off —
    candidate never sees a broken editor).

## Path parameters

- `token` string, required

## Response `200`

Successful Response

- unknown

## 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)
