> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Candidate

> Retrieve a single candidate. By default `calls` is null — pass `include=calls` to embed the raw call records (transcript, recording, questions) the way v1 did. Prefer GET /candidates/{candidateId}/interview, which returns the one aggregated result most integrators actually want.

Retrieve detailed information about a single candidate, including interview data, experience, education, skills, and call history.

By default `calls` is `null`. Pass `include=calls` to embed the raw call records, as v1 did. Most integrations want [Get Interview](/docs/api-reference/candidates/get-interview.md) instead, which returns one aggregated result.

`remote_candidate_id`, `remote_application_id` and `remote_job_id` are returned only for organizations whose jobs and candidates sync from a connected ATS.

```bash cURL theme={null}
curl -X GET "https://api.classet.ai/v2/candidates/Xk3pQ9vT2mLr8bNc4Hd1s?include=calls" \
  -H "X-API-KEY: your-api-key"
```

```json 200 theme={null}
{
  "data": {
    "candidate_id": "Xk3pQ9vT2mLr8bNc4Hd1s",
    "first_name": "John",
    "last_name": "Smith",
    "email": "john.smith@example.com",
    "phone": "+15551234567",
    "phone_number": "+15551234567",
    "location": {
      "city": "Austin",
      "region": "Texas",
      "region_code": "TX",
      "country_code": "US",
      "location_str": "Austin, TX"
    },
    "stage": "Applied",
    "stage_kind": "applied",
    "ats_stage_name": null,
    "tags": null,
    "hired_at": null,
    "disqualified_at": null,
    "ai_opt_out": false,
    "cover_letter": null,
    "screening_answers": null,
    "answers": [
      {
        "question": { "body": "Do you have a valid driver's license?" },
        "answer": { "body": "Yes" }
      }
    ],
    "preferred_language": "en",
    "created_at": "2026-04-01T14:30:00.000Z",
    "updated_at": "2026-04-02T09:20:00.000Z",
    "changed_at": "2026-04-02T09:20:00.000Z",
    "job_id": "k7Hq2xVbN",
    "job_title": "Electrician Apprentice",
    "disqualified": false,
    "disqualification_reason": null,
    "resume_url": "https://storage.example.com/resumes/john-smith.pdf",
    "notes": null,
    "experience_entries": [
      {
        "title": "Electrician Helper",
        "company": "Bright Spark Electric",
        "current": false,
        "start_date": "2023-06",
        "end_date": "2026-01"
      }
    ],
    "education_entries": [
      {
        "school": "Austin Community College",
        "degree": "Certificate in Electrical Technology",
        "end_date": "2023-05"
      }
    ],
    "skills": ["conduit bending", "NEC code", "blueprint reading"],
    "summary": "Electrician helper moving into an apprentice role.",
    "source": "indeed",
    "interview_outcome": "qualified",
    "interview_sent_at": "2026-04-02T09:00:00.000Z",
    "interview_completed_at": "2026-04-02T09:18:00.000Z",
    "experience": [
      {
        "title": "Electrician Helper",
        "company": "Bright Spark Electric",
        "current": false,
        "start_date": "2023-06",
        "end_date": "2026-01"
      }
    ],
    "interview_custom_data": {
      "available_start_date": "2026-05-01",
      "has_own_tools": true
    },
    "interview_summary": "Solid knowledge of residential wiring and safety. Available to start May 1.",
    "calls": [
      {
        "id": 48211,
        "call_id": "call_9f2c1d7e",
        "provider_call_id": "call_8f2d1c9e4b7a",
        "call_status": "call_complete",
        "outcome_status": "qualified",
        "call_type": "phone_call",
        "created_at": "2026-04-02T09:00:00.000Z",
        "recording_url": "https://storage.example.com/recordings/48211.wav?token=...",
        "transcript": "Agent: Hi John, this is Joy from Bright Spark Electric...",
        "summary": "Solid knowledge of residential wiring and safety.",
        "questionAnswers": [
          { "question": "If hired, when would you be able to start?", "answer": "May 1" }
        ],
        "outcome_reason": null,
        "disconnection_reason": "agent_hangup"
      }
    ],
    "custom_data": null,
    "remote_application_id": "8812",
    "remote_candidate_id": "5530",
    "remote_job_id": "1042"
  }
}
```

`experience` and `phone_number` are deprecated v1 aliases of `experience_entries` and `phone`. `recording_url` on an embedded call can expire; use [Download Recording](/docs/api-reference/calls/download-recording.md) for a stable link.


## OpenAPI

````yaml GET /v2/candidates/{candidateId}
openapi: 3.1.0
info:
  title: Classet API
  version: 2.0.3
  description: >-
    AI-powered recruiting and phone screening API.


    **API key scopes.** `read` covers every GET; any other method needs `write`
    (403 `insufficient_scope`); starting or stopping an interview also needs
    `interviews:send`. A branch-limited key sees and writes only jobs in its
    branches (not jobs with no branch) and their candidates, applications and
    calls; anything outside is a 404. An organization-group key is read-only
    across every organization in its group. Branch-limited and group keys cannot
    use organization configuration (scripts, knowledge, webhooks, message
    automations, agent settings, AI generation, organization): 403
    `restricted_key_unsupported`. `GET /v2/me` reports what the calling key can
    do.
servers:
  - url: https://api.classet.ai
    description: Production
  - url: http://localhost:8081
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /v2/candidates/{candidateId}:
    get:
      tags:
        - Candidates
      summary: Get candidate details
      description: >-
        Retrieve a single candidate. By default `calls` is null — pass
        `include=calls` to embed the raw call records (transcript, recording,
        questions) the way v1 did. Prefer GET
        /candidates/{candidateId}/interview, which returns the one aggregated
        result most integrators actually want.
      parameters:
        - schema:
            type: string
          required: true
          name: candidateId
          in: path
          description: The unique identifier of the candidate.
        - schema:
            type: string
            example: calls
            description: >-
              Comma-separated list of extra data to embed. Supported: `calls`
              (v1 parity — embeds the raw call records).
          required: false
          description: >-
            Comma-separated list of extra data to embed. Supported: `calls` (v1
            parity — embeds the raw call records).
          name: include
          in: query
      responses:
        '200':
          description: Candidate details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/CandidateDetail'
                required:
                  - data
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CandidateDetail:
      allOf:
        - $ref: '#/components/schemas/CandidateSummary'
        - type: object
          properties:
            source:
              type: string
              nullable: true
              description: >-
                How the candidate was sourced (e.g. `"manual"`, `"indeed"`,
                `"workable"`).
            notes:
              type: string
              nullable: true
            experience:
              nullable: true
              deprecated: true
              description: >-
                Deprecated v1 alias for `experience_entries`. Will be removed in
                a future version.
            experience_entries:
              nullable: true
              description: Structured work history entries.
            education_entries:
              nullable: true
              description: Structured education history entries.
            skills:
              nullable: true
              description: List of skills extracted or provided.
            summary:
              type: string
              nullable: true
              description: Brief candidate summary or bio.
            interview_outcome:
              type: string
              nullable: true
              description: Result of the AI phone screen (e.g. `"passed"`, `"failed"`).
            interview_sent_at:
              type: string
              nullable: true
              description: ISO 8601 timestamp when the interview invitation was sent.
            interview_completed_at:
              type: string
              nullable: true
              description: ISO 8601 timestamp when the interview was completed.
            interview_custom_data:
              nullable: true
              description: Custom key-value data collected during the interview.
            interview_summary:
              type: string
              nullable: true
              description: AI-generated summary of the interview.
            cover_letter:
              type: string
              nullable: true
            screening_answers:
              nullable: true
            answers:
              nullable: true
              description: Application question answers supplied at apply time.
            preferred_language:
              type: string
              nullable: true
            calls:
              type: array
              nullable: true
              items:
                nullable: true
              description: >-
                Null unless ?include=calls is passed. v1 parity — raw call
                records.
          required:
            - source
            - notes
            - summary
            - interview_outcome
            - interview_sent_at
            - interview_completed_at
            - interview_summary
            - calls
      description: Full candidate details
    CandidateSummary:
      type: object
      properties:
        candidate_id:
          type: string
          example: cand_abc123
        first_name:
          type: string
          nullable: true
        last_name:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        phone_number:
          type: string
          nullable: true
          deprecated: true
          description: >-
            Deprecated v1 alias for `phone`. Will be removed in a future
            version.
        phone:
          type: string
          nullable: true
        location:
          nullable: true
        job_id:
          type: string
          nullable: true
          description: >-
            The v2 job ID (`jobs.id`), as GET /v2/jobs returns it.
            `job_shortcode`, where present, is the v1 shortcode of the same job;
            every `{jobId}` and `job_id` input accepts either.
        job_shortcode:
          type: string
          nullable: true
          description: The v1 shortcode of the job.
        job_title:
          type: string
          nullable: true
        stage:
          type: string
          nullable: true
        stage_kind:
          type: string
          nullable: true
          description: Coarse classification of `stage`.
        ats_stage_name:
          type: string
          nullable: true
          description: Stage name in the connected ATS, when one is synced.
        source:
          type: string
          nullable: true
          example: indeed
          description: Acquisition source.
        tags:
          type: array
          nullable: true
          items:
            type: string
        hired_at:
          type: string
          nullable: true
          description: >-
            Set when the candidate was marked hired. The terminal signal in
            Classet — there is no Offer object.
        disqualified:
          type: boolean
          nullable: true
        disqualification_reason:
          type: string
          nullable: true
        disqualified_at:
          type: string
          nullable: true
        ai_opt_out:
          type: boolean
          nullable: true
          description: >-
            True when the candidate has opted out of AI outreach. Do not message
            them.
        resume_url:
          type: string
          nullable: true
        created_at:
          type: string
          nullable: true
        updated_at:
          type: string
          nullable: true
          example: '2026-06-20T14:00:00Z'
          description: >-
            Last-modified timestamp of the candidate record itself. Not the
            delta-sync cursor: a candidate whose call changed but whose record
            did not keeps an older updated_at. Use changed_at.
        changed_at:
          type: string
          nullable: true
          example: '2026-06-21T09:15:00Z'
          description: >-
            The later of updated_at and the newest interview call change
            (results, transcript, tags, evaluations). This is what updated_since
            filters on. Use it to detect change; advance your cursor to a
            pre-poll timestamp minus a safety lag, not to the maximum of this
            field.
        custom_data:
          nullable: true
        remote_candidate_id:
          type: string
          nullable: true
          description: Candidate ID in the external ATS (if synced).
        remote_application_id:
          type: string
          nullable: true
          description: Application ID in the external ATS (if synced).
        remote_job_id:
          type: string
          nullable: true
          description: Job ID in the external ATS (if synced).
      required:
        - candidate_id
        - first_name
        - last_name
        - email
        - phone_number
        - phone
        - job_id
        - job_shortcode
        - job_title
        - stage
        - disqualified
        - disqualification_reason
        - resume_url
        - created_at
        - updated_at
        - changed_at
      description: Candidate summary
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your Classet API key. Create and rotate keys in Settings → API.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.