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

# Get Candidate

> Get details for a specific candidate by candidate ID, including associated interview IDs.



## OpenAPI

````yaml https://api.ropes.ai/api/docs/openapi.json get /api/public/candidates/{candidateId}
openapi: 3.0.0
info:
  title: Ropes Public API
  version: 1.0.0
  description: >-
    Public API for Ropes. Authenticate using your API key in the x-api-key
    header.
servers:
  - url: https://api.ropes.ai
    description: Production server
  - url: http://localhost:3001
    description: Local development server
security: []
paths:
  /api/public/candidates/{candidateId}:
    get:
      tags:
        - Candidates
      summary: Get Candidate
      description: >-
        Get details for a specific candidate by candidate ID, including
        associated interview IDs.
      parameters:
        - schema:
            type: string
            description: The unique identifier of the candidate
          required: true
          description: The unique identifier of the candidate
          name: candidateId
          in: path
      responses:
        '200':
          description: Successfully retrieved candidate details with interviews
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CandidateDetailsResponse'
        '400':
          description: Bad request - No candidate ID provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Candidate not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CandidateDetailsResponse:
      type: object
      properties:
        candidate:
          $ref: '#/components/schemas/CandidateWithInterviews'
      required:
        - candidate
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        message:
          type: string
          description: Error message (alternative field)
    CandidateWithInterviews:
      allOf:
        - $ref: '#/components/schemas/Candidate'
        - type: object
          properties:
            interviewIds:
              type: array
              items:
                type: string
              description: Array of interview identifiers
          required:
            - interviewIds
      description: Candidate details with interview IDs
    Candidate:
      type: object
      properties:
        name:
          type: string
          description: The full name of the candidate
        email:
          type: string
          format: email
          description: The email address of the candidate
        createdAt:
          type: string
          format: date-time
          description: ISO 8601 timestamp when the candidate was created
        identifier:
          type: string
          description: Unique identifier for the candidate
        status:
          type: string
          enum:
            - Not Assigned
            - Assigned
            - Expired
            - Completed
            - Passed
            - Failed
            - Error
          description: Current status of the candidate
        integrationSource:
          type: string
          description: Integration source that created this candidate
        externalId:
          type: string
          description: External ID from the integration source (e.g., ATS candidate ID)
      required:
        - name
        - email
        - createdAt
        - identifier
        - status
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````