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

# Get existing candidate

> Get basic details on existing candidate to pre-fill the candidate update form.



## OpenAPI

````yaml /api-reference/openapi-public.json get /{publicTenantSlug}/candidate-portal/{candidateId}
openapi: 3.0.0
info:
  title: Spott API
  description: ''
  version: '1.0'
  contact: {}
servers:
  - url: https://api.gospott.com
security: []
tags:
  - name: public
    description: ''
paths:
  /{publicTenantSlug}/candidate-portal/{candidateId}:
    get:
      tags:
        - public
      summary: Get existing candidate
      description: >-
        Get basic details on existing candidate to pre-fill the candidate update
        form.
      operationId: getCandidateForPortalSubmission
      parameters:
        - name: publicTenantSlug
          required: true
          in: path
          schema:
            type: string
        - name: candidateId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CandidateForPortalSubmissionDto'
components:
  schemas:
    CandidateForPortalSubmissionDto:
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        emails:
          type: array
          items:
            $ref: '#/components/schemas/CandidateEmailDto'
        phoneNumbers:
          type: array
          items:
            $ref: '#/components/schemas/CandidatePhoneNumberDto'
        socialMedia:
          type: array
          items:
            $ref: '#/components/schemas/CandidateSocialMediaDto'
      required:
        - firstName
        - lastName
        - emails
        - phoneNumbers
        - socialMedia
    CandidateEmailDto:
      type: object
      properties:
        purpose:
          type: string
          nullable: true
          enum:
            - personal
            - work
        email:
          type: string
          format: email
      required:
        - purpose
        - email
    CandidatePhoneNumberDto:
      type: object
      properties:
        purpose:
          type: string
          nullable: true
          enum:
            - personal
            - work
        phoneNumber:
          type: string
      required:
        - purpose
        - phoneNumber
    CandidateSocialMediaDto:
      type: object
      properties:
        url:
          type: string
          format: uri
        type:
          enum:
            - LINKEDIN
            - TWITTER
            - FACEBOOK
            - INSTAGRAM
          type: string
      required:
        - url
        - type

````