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

# Create candidate from CV

> 
Automatically create a candidate from a single uploaded CV file without human review.

**Process:**
- Upload 1 CV file (PDF or DOCX format)
- AI automatically extracts candidate information (name, contact details, work experience, education, etc.)
- Returns the created candidate's unique ID

**Duplicate Detection:**
- If a candidate with the same email, phone number, or LinkedIn URL already exists:
  - The existing candidate ID is returned
  - An automatic CV diff is triggered in the background to update the existing candidate
  - No duplicate candidate is created

**Supported Formats:**
- PDF (.pdf)
- Microsoft Word (.docx)

**Limitations:**
- Exactly 1 file per request (use /from-cv/unsupervised/_bulk for multiple files)
- Maximum 10MB per file
- CV must contain extractable text (scanned images may fail unless they contain OCR text)

		



## OpenAPI

````yaml /api-reference/openapi.json post /candidates/_from-unsupervised-cv
openapi: 3.1.0
info:
  title: Spott API Reference
  version: '0.1'
servers:
  - url: https://api.gospott.com
security: []
tags: []
paths:
  /candidates/_from-unsupervised-cv:
    post:
      tags:
        - Candidates
      summary: Create candidate from CV
      description: "\nAutomatically create a candidate from a single uploaded CV file without human review.\n\n**Process:**\n- Upload 1 CV file (PDF or DOCX format)\n- AI automatically extracts candidate information (name, contact details, work experience, education, etc.)\n- Returns the created candidate's unique ID\n\n**Duplicate Detection:**\n- If a candidate with the same email, phone number, or LinkedIn URL already exists:\n  - The existing candidate ID is returned\n  - An automatic CV diff is triggered in the background to update the existing candidate\n  - No duplicate candidate is created\n\n**Supported Formats:**\n- PDF (.pdf)\n- Microsoft Word (.docx)\n\n**Limitations:**\n- Exactly 1 file per request (use /from-cv/unsupervised/_bulk for multiple files)\n- Maximum 10MB per file\n- CV must contain extractable text (scanned images may fail unless they contain OCR text)\n\n\t\t"
      operationId: createCandidateFromCvUnsupervised
      parameters: []
      requestBody:
        required: true
        description: Upload a single CV file to create a candidate
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - file
              properties:
                file:
                  type: string
                  format: binary
                  description: CV file in PDF or DOCX format (max 10MB)
      responses:
        '201':
          description: Candidate created successfully. Returns the unique candidate ID.
          content:
            application/json:
              schema:
                type: string
        '400':
          description: Bad request - invalid input or CV parsing failed
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ExceptionBaseDto'
                  - type: object
                    properties:
                      statusCode:
                        type: number
                        example: 400
                      message:
                        type: string
                      error:
                        type: string
                        example: Bad Request
        '401':
          description: Unauthorized - invalid or missing authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseDto'
        '413':
          description: Payload too large - file exceeds 10MB limit
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ExceptionBaseDto'
                  - type: object
                    properties:
                      statusCode:
                        type: number
                        example: 413
                      message:
                        type: string
                        example: Payload too large
                      error:
                        type: string
                        example: Payload Too Large
        '415':
          description: Unsupported Media Type - file format not supported
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ExceptionBaseDto'
                  - type: object
                    properties:
                      statusCode:
                        type: number
                        example: 415
                      message:
                        type: string
                        example: >-
                          Unsupported file type. Only PDF and DOCX are
                          supported.
                      error:
                        type: string
                        example: Unsupported Media Type
        '500':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseDto'
      security:
        - x-api-key: []
components:
  schemas:
    ExceptionBaseDto:
      type: object
      properties:
        status:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        message:
          type: string
        requestId:
          type: string
      required:
        - status
        - message
        - requestId
      id: ExceptionBaseDto
  securitySchemes:
    x-api-key:
      type: apiKey
      name: x-api-key
      in: header
      description: >-
        API key for authentication. Get your API key from Settings → API Keys in
        your Spott dashboard.

````