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

# Bulk upload resumes to a job

> Upload up to 5,000 resumes for parsing and associate them with a
specific job. Parsed resumes automatically create job candidates with
AI evaluation against the job's `criterionDetails`, producing profile
match scores and recommendations.

Returns a `batchId` that can be used to retrieve the created
candidates later.

Validation rules:
- `jobId` must be provided and must be a valid integer.
- `resumeURLs` must be provided, must be an array, and cannot be empty.
- Each URL must be a non-empty string (whitespace-only strings are
  invalid) and must be publicly accessible.
- Maximum 5,000 resume URLs per request.
- The job must exist and belong to your company.

Triggered webhook events (see the `webhooks` section for payloads):
- `resume.bulk_upload_parse.started` when batch processing starts.
- `resume.bulk_upload_parse.completed` when batch processing completes
  (carries `successCount` and `failedCount`).
- `resume.bulk_upload_parse.failed` if batch processing fails.




## OpenAPI

````yaml /api-reference/openapi.yaml post /job-candidates/bulk/resume
openapi: 3.1.0
info:
  title: TapTalent Partner API
  version: 1.0.0
  summary: Partner API for jobs, candidates, pipelines, custom fields, and webhooks.
  description: >
    The TapTalent Partner API lets partner systems manage jobs, candidates,

    job-candidate relationships, hiring pipelines, and custom fields, and

    receive real-time event notifications via webhooks. All communication is

    JSON over HTTPS.


    ## Authentication


    Every request requires an API key sent as an HTTP bearer token:


    ```

    Authorization: Bearer sk_live_AbCdEfGhIjKlMnOpQrStUv

    ```


    Keys are prefixed `sk_live_` (production) or `sk_test_` (sandbox) followed

    by 22 base62 characters, are scoped to a company, and are generated from

    the TapTalent dashboard (Account Settings → Developers → API Key

    Management). Key management is dashboard-only and not available via this

    API.


    ## Response envelopes


    The API uses three envelope styles, by resource family:


    | Family | Success envelope |

    |---|---|

    | Jobs | Bare object (e.g. `{ "jobs": [...], "totalJobs": 45 }` or the job
    object itself) |

    | Candidates, Job Candidates, Pipelines, Custom Fields | `{ "status":
    "success", "data": ... }` |

    | Bulk resume upload and batch retrieval | `{ "success": true, "data": ...
    }` |


    Each operation in this specification models its family's actual envelope;

    no unified envelope is imposed.


    ## Pagination


    Pagination conventions vary by endpoint and are modeled as documented:


    | Endpoint | Page parameter | First page | Default page size | Page size
    rule |

    |---|---|---|---|---|

    | `GET /jobs` | `pageNumber` | 1 | 10 | one of 10, 20, 40, 80, 100 |

    | `GET /candidates/list` | `pageNumber` | **0** | 10 | one of 10, 20, 40,
    80, 100 |

    | `GET /candidates/batch/{batchId}` | `pageNumber` | 1 | 10 | one of 10, 20,
    40, 80, 100 |

    | `GET /job-candidates/job/{jobId}/candidates` | `page` | 1 | 20 | one of
    10, 20, 40, 80, 100 |

    | `GET /job-candidates/stage/{stageId}/candidates` | `page` | 1 | 20 | any
    value from 1 to 100 |


    ## Errors


    Most errors use the canonical envelope:


    ```json

    {
      "error": {
        "code": "ERROR_CODE",
        "type": "error_type",
        "message": "Human-readable error message",
        "details": { "field": "Specific validation error message" }
      }
    }

    ```


    Authentication failures use flat shapes instead (`{"message": ...}`,

    `{"code": ..., "message": ...}` or `{"message": ..., "isApiKeyExists":

    false}`); see the shared 401 response. Rate limits are applied at the

    company level; numeric limits and the 429 response body are not yet

    published.


    ## Webhooks


    Event notifications are delivered as HTTP POST requests to a single

    company-level HTTPS endpoint configured in the dashboard. Deliveries carry

    the headers `X-Webhook-Event`, `X-Webhook-Timestamp`, and `X-Webhook-Key`

    (verify by plain equality against the key generated in the dashboard;

    HMAC signatures are not yet available). Endpoints must respond with a 2xx

    status within 5 seconds; failed deliveries are retried at 200 ms, 400 ms,

    and 800 ms before being marked failed. See the `webhooks` section of this

    document for every event payload.


    ## Conventions used in this specification


    - `x-inferred: true` marks schemas or responses whose shape is inferred
      from related endpoints because the source documentation does not include
      an example; verify against the sandbox before relying on exact field
      names.
    - `x-known-quirk` marks fields whose wire format deviates from the API's
      prevailing conventions (for example an epoch timestamp where other
      endpoints return ISO 8601 strings).
    - Where the published documentation shows placeholder string identifiers
      (for example `"pipelineId_1"` or `"companyId_1"`), this specification
      models the underlying integer identifier types used by the API and notes
      the resolution on the affected field.
  contact:
    name: TapTalent Support
    email: support@taptalent.ai
    url: https://docs.taptalent.io
  license:
    name: Proprietary
    url: https://taptalent.ai
servers:
  - url: https://partner-api.taptalent.io/v1/partner
    description: Production (use `sk_live_` keys)
  - url: https://sandbox.partner-api.taptalent.io/v1/partner
    description: Sandbox / staging (use `sk_test_` keys)
security:
  - bearerAuth: []
tags:
  - name: Jobs
    description: Create, read, update, and list jobs.
  - name: Candidates
    description: >-
      Create and retrieve candidates, upload resumes in bulk, and fetch
      candidates by batch or id list.
  - name: Job Candidates
    description: >-
      Manage the relationship between candidates and jobs, including stage
      placement and per-job resume ingestion.
  - name: Pipelines
    description: Manage hiring pipelines and their stages.
  - name: Custom Fields
    description: Define custom field templates for candidates and jobs.
  - name: Custom Field Values
    description: Read and write custom field values attached to candidates and jobs.
  - name: Webhooks
    description: >-
      Event notifications delivered to your configured webhook endpoint. See the
      top-level `webhooks` section for payloads.
paths:
  /job-candidates/bulk/resume:
    post:
      tags:
        - Job Candidates
      summary: Bulk upload resumes to a job
      description: |
        Upload up to 5,000 resumes for parsing and associate them with a
        specific job. Parsed resumes automatically create job candidates with
        AI evaluation against the job's `criterionDetails`, producing profile
        match scores and recommendations.

        Returns a `batchId` that can be used to retrieve the created
        candidates later.

        Validation rules:
        - `jobId` must be provided and must be a valid integer.
        - `resumeURLs` must be provided, must be an array, and cannot be empty.
        - Each URL must be a non-empty string (whitespace-only strings are
          invalid) and must be publicly accessible.
        - Maximum 5,000 resume URLs per request.
        - The job must exist and belong to your company.

        Triggered webhook events (see the `webhooks` section for payloads):
        - `resume.bulk_upload_parse.started` when batch processing starts.
        - `resume.bulk_upload_parse.completed` when batch processing completes
          (carries `successCount` and `failedCount`).
        - `resume.bulk_upload_parse.failed` if batch processing fails.
      operationId: bulkUploadJobResumes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkUploadJobResumesRequest'
            examples:
              bulkResumeUpload:
                summary: Upload two resumes to a job
                value:
                  jobId: 12345
                  resumeURLs:
                    - https://example.com/resumes/john-doe.pdf
                    - https://example.com/resumes/jane-smith.docx
      responses:
        '200':
          description: Batch accepted for processing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkUploadJobResumesResponse'
              examples:
                batchCreated:
                  summary: Batch created
                  value:
                    success: true
                    data:
                      batchId: 12345
                      fileCount: 2
                      jobId: 12345
        '400':
          description: |
            Validation error. (The HTTP status code is not stated explicitly in
            the source documentation; it is inferred from the documented
            `validation_error` type.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              examples:
                missingJobId:
                  summary: Missing jobId
                  value:
                    error:
                      code: INVALID_REQUEST
                      type: validation_error
                      message: Job ID is required
                exceededMaxResumeUrls:
                  summary: Exceeded maximum resume URLs
                  value:
                    error:
                      code: EXCEEDED_MAX_RESUME_URLS
                      type: validation_error
                      message: Maximum 5000 resume URLs allowed per request
                      details:
                        provided: 6000
                        maximum: 5000
                invalidResumeUrls:
                  summary: Invalid URL format
                  value:
                    error:
                      code: INVALID_RESUME_URLS
                      type: validation_error
                      message: All resumeURLs must be non-empty strings
                      details:
                        invalidCount: 2
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: |
            Not authorized to access this job. Note: on this endpoint the
            documentation types `PERMISSION_DENIED` as `validation_error`,
            whereas the job-candidate list endpoints type the same code
            `authorization_error`; transcribed as documented per endpoint. (The
            HTTP status code itself is not stated explicitly in the source
            documentation; it is inferred from the error semantics.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              examples:
                permissionDenied:
                  summary: Permission denied
                  value:
                    error:
                      code: PERMISSION_DENIED
                      type: validation_error
                      message: You are not authorized to access this job
        '404':
          description: |
            Job not found. Note: on this endpoint the documentation types
            `JOB_NOT_FOUND` as `validation_error`, whereas the job-candidate
            list endpoints type the same code `resource_error`; transcribed as
            documented per endpoint. (The HTTP status code itself is not stated
            explicitly in the source documentation; it is inferred from the
            error semantics.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              examples:
                jobNotFound:
                  summary: Job not found
                  value:
                    error:
                      code: JOB_NOT_FOUND
                      type: validation_error
                      message: Job not found
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    BulkUploadJobResumesRequest:
      type: object
      description: Request body for bulk-uploading resumes to a job.
      required:
        - jobId
        - resumeURLs
      properties:
        jobId:
          type: integer
          description: |
            The job ID to associate the resumes with. The job must exist and
            belong to your company.
        resumeURLs:
          type: array
          description: |
            Array of publicly accessible URLs pointing to resume files (PDF,
            DOC, DOCX). Maximum 5,000 resumes per request; must be provided and
            cannot be empty.
          minItems: 1
          maxItems: 5000
          items:
            type: string
            minLength: 1
            description: |
              Publicly accessible URL of a resume file. Must be a non-empty
              string (whitespace-only strings are invalid).
    BulkUploadJobResumesResponse:
      type: object
      description: |
        Success envelope for the bulk resume upload endpoint. Note this family
        of bulk operations uses the `{success: true, data}` envelope rather than
        the `{status: "success", data}` envelope used by the other job-candidate
        endpoints.
      required:
        - success
        - data
      properties:
        success:
          type: boolean
          description: Indicates if the request was successful.
        data:
          type: object
          required:
            - batchId
            - fileCount
            - jobId
          properties:
            batchId:
              type: integer
              description: |
                Unique identifier for this batch. Use this to retrieve
                candidates later.
            fileCount:
              type: number
              description: Number of resumes in the batch.
            jobId:
              type: integer
              description: The job ID the resumes are associated with.
    ApiError:
      type: object
      description: Canonical error envelope used by most non-authentication errors.
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ApiErrorBody'
    ApiErrorBody:
      type: object
      description: Canonical error object carried under the `error` key.
      required:
        - code
        - type
        - message
      properties:
        code:
          type: string
          description: Machine-readable error code, e.g. `INVALID_REQUEST`.
          examples:
            - INVALID_REQUEST
        type:
          type: string
          description: Error category.
          enum:
            - validation_error
            - internal_error
            - not_found
            - authorization_error
            - resource_error
            - payment_error
            - subscription_error
        message:
          type: string
          description: Human-readable error message.
        details:
          type: object
          description: Optional per-field validation messages or structured error context.
          additionalProperties: true
    AuthMessageError:
      type: object
      description: >-
        Flat authentication error shape (does not use the canonical `error`
        envelope).
      required:
        - message
      properties:
        message:
          type: string
          examples:
            - Invalid API key
    AuthCodeMessageError:
      type: object
      description: >-
        Flat authentication error shape returned when the account subscription
        is inactive.
      required:
        - code
        - message
      properties:
        code:
          type: string
          examples:
            - ACCOUNT_INACTIVE
        message:
          type: string
          examples:
            - >-
              Your subscription is inactive. Please renew your plan to continue
              using this feature.
    AuthApiKeyError:
      type: object
      description: >-
        Flat authentication error shape returned when the API key does not
        exist.
      required:
        - message
        - isApiKeyExists
      properties:
        message:
          type: string
          examples:
            - API key not found
        isApiKeyExists:
          type: boolean
  responses:
    Unauthorized:
      description: |
        Authentication failed. Note that authentication errors use flat body
        shapes rather than the canonical `error` envelope.
      content:
        application/json:
          schema:
            anyOf:
              - $ref: '#/components/schemas/AuthMessageError'
              - $ref: '#/components/schemas/AuthCodeMessageError'
              - $ref: '#/components/schemas/AuthApiKeyError'
          examples:
            invalidApiKey:
              summary: Invalid API key
              value:
                message: Invalid API key
            accountInactive:
              summary: Subscription inactive
              value:
                code: ACCOUNT_INACTIVE
                message: >-
                  Your subscription is inactive. Please renew your plan to
                  continue using this feature.
            apiKeyNotFound:
              summary: API key not found
              value:
                message: API key not found
                isApiKeyExists: false
    TooManyRequests:
      x-inferred: true
      description: |
        Rate limit exceeded. Rate limits are applied at the company level; the
        response body below is inferred because the current documentation
        mentions handling 429 responses but does not publish a body. Retry
        with exponential backoff.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            rateLimited:
              summary: Rate limit exceeded (inferred example)
              value:
                error:
                  code: RATE_LIMIT_EXCEEDED
                  type: validation_error
                  message: Too many requests. Please retry with exponential backoff.
    InternalError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            internalError:
              summary: Internal error
              value:
                error:
                  code: INTERNAL_ERROR
                  type: internal_error
                  message: Something went wrong.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: |
        Company-scoped API key. Production keys are prefixed `sk_live_`,
        sandbox keys `sk_test_`, each followed by 22 base62 characters
        (pattern `^sk_(live|test)_[0-9A-Za-z]{22}$`). Generate keys in the
        TapTalent dashboard under Account Settings → Developers → API Key
        Management; a key is shown once at generation and old keys are
        invalidated immediately on regeneration.

````