> ## 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 by Email

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



## OpenAPI

````yaml https://api.ropes.ai/api/docs/openapi.json get /api/public/candidates/email/{email}
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/email/{email}:
    get:
      tags:
        - Candidates
      summary: Get Candidate by Email
      description: >-
        Get details for a specific candidate by email, including associated
        interview IDs
      parameters:
        - schema:
            type: string
            description: The email address of the candidate
          required: true
          description: The email address of the candidate
          name: email
          in: path
      responses:
        '200':
          description: Successfully retrieved candidate details with interviews
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CandidateWithInterviewsResponse'
        '400':
          description: Bad request - No email 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:
    CandidateWithInterviewsResponse:
      type: object
      properties:
        candidate:
          allOf:
            - $ref: '#/components/schemas/CandidateWithInterviews'
            - description: Candidate details with interviews
      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

````