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

# Update an application's pipeline status

> Transition the pipeline status. Illegal transitions (e.g. hired->applied) return 409. An optional If-Match header (the application's ETag from a prior GET) gives optimistic concurrency: a stale ETag returns 409.



## OpenAPI

````yaml /swagger/v2_schema.yaml patch /applications/{application_id}
openapi: 3.0.3
info:
  title: TalentUnveiled API v2
  version: 2.0.0
  description: >-
    Public API v2 for managing jobs, applications, interviews, and webhooks.


    **Pagination:** list endpoints return a `{count, next, previous, results}`
    envelope. Page with the `limit` and `offset` query parameters; `limit`
    defaults to 50 and is capped at 200.
servers:
  - url: https://api.talentunveiled.com/api/v2
    description: Production server
security: []
tags:
  - name: Meta
    description: Identify the organization an API key belongs to.
  - name: Jobs
    description: Create, read, update, and archive job postings.
  - name: Applications
    description: Create applications and track them through the pipeline.
  - name: Interview Configuration
    description: The interview config and call schedule for a job.
  - name: Interview Criteria
    description: Evaluation criteria for a job's interview.
  - name: Interview Questions
    description: Questions asked during a job's interview.
  - name: Interview Results
    description: The scored interview result for an application.
  - name: Interview Calls
    description: Call attempts, scheduling, and transcripts.
  - name: CV Evaluations
    description: AI scoring of a candidate's CV against the job.
  - name: Insights
    description: Combined CV and interview insights for an application.
  - name: Webhooks
    description: Manage webhook subscriptions and inspect deliveries.
  - name: Hiring Team
    description: Manage the hiring team assigned to a job posting.
  - name: Members
    description: List the members of the organization.
paths:
  /applications/{application_id}:
    patch:
      tags:
        - Applications
      summary: Update an application's pipeline status
      description: >-
        Transition the pipeline status. Illegal transitions (e.g.
        hired->applied) return 409. An optional If-Match header (the
        application's ETag from a prior GET) gives optimistic concurrency: a
        stale ETag returns 409.
      operationId: applications_partial_update
      parameters:
        - in: header
          name: If-Match
          schema:
            type: string
          description: >-
            The application's ETag from a prior GET response. When supplied, the
            update is rejected with 409 if the application changed since
            (optimistic concurrency).
        - in: path
          name: application_id
          schema:
            type: string
            format: uuid
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedApplicationStatusUpdateRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2ApplicationDetail'
          description: ''
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication credentials were not provided or are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested resource does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Illegal status transition, or the If-Match ETag is stale.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    PatchedApplicationStatusUpdateRequest:
      type: object
      description: >-
        Request body for ``PATCH /applications/{id}``. Only ``status`` is
        writable.
      properties:
        status:
          $ref: '#/components/schemas/ApplicationStatusEnum'
    V2ApplicationDetail:
      type: object
      description: >-
        Full application: adds ``custom_fields`` to the list shape.


        The interview / insights / CV-evaluation sub-resources are reached via
        the

        ``links`` block (each is its own typed endpoint), not inlined here.
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        external_id:
          type: string
          readOnly: true
          nullable: true
          description: >-
            The application's ID in the system that supplied it, in that
            system's own form. Unique per job posting and source.
        status:
          allOf:
            - $ref: '#/components/schemas/ApplicationStatusEnum'
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        candidate:
          $ref: '#/components/schemas/CandidateInfo'
        job:
          allOf:
            - $ref: '#/components/schemas/JobStub'
          readOnly: true
        interview:
          allOf:
            - $ref: '#/components/schemas/InterviewStub'
          nullable: true
          readOnly: true
        links:
          type: object
          additionalProperties: {}
          readOnly: true
        custom_fields:
          nullable: true
      required:
        - candidate
        - created_at
        - custom_fields
        - external_id
        - id
        - interview
        - job
        - links
        - status
    ErrorResponse:
      type: array
      description: List of errors
      items:
        $ref: '#/components/schemas/ErrorItem'
    ApplicationStatusEnum:
      enum:
        - applied
        - screened
        - interviewed
        - shortlisted
        - hired
        - rejected
      type: string
      description: |-
        * `applied` - Applied
        * `screened` - Screened
        * `interviewed` - Interviewed
        * `shortlisted` - Shortlisted
        * `hired` - Hired
        * `rejected` - Rejected
    CandidateInfo:
      type: object
      properties:
        first_name:
          type: string
          nullable: true
        last_name:
          type: string
          nullable: true
        phone_number:
          type: string
          nullable: true
        email:
          type: string
          format: email
          nullable: true
      required:
        - email
        - first_name
        - last_name
        - phone_number
    JobStub:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
      required:
        - id
        - title
    InterviewStub:
      type: object
      description: >-
        Lean interview pointer on an application (full result is its own
        sub-resource).
      properties:
        id:
          type: string
          format: uuid
        status:
          $ref: '#/components/schemas/InterviewSessionStatusEnum'
        is_eligible:
          type: boolean
          nullable: true
      required:
        - id
        - is_eligible
        - status
    ErrorItem:
      type: object
      description: Individual error item
      properties:
        code:
          allOf:
            - $ref: '#/components/schemas/ErrorCodeEnum'
          description: Machine-readable error code
        detail:
          type: string
          description: Human-readable error message
        attr:
          type: string
          nullable: true
          description: Field name this error relates to (for validation errors)
      required:
        - code
        - detail
    InterviewSessionStatusEnum:
      enum:
        - pending
        - scheduled
        - in_progress
        - rescheduled
        - retry_scheduled
        - completed
        - opted_out
        - unreachable
        - language_barrier
        - failed
        - cancelled
      type: string
      description: |-
        * `pending` - Pending
        * `scheduled` - Scheduled
        * `in_progress` - In Progress
        * `rescheduled` - Rescheduled
        * `retry_scheduled` - Retry Scheduled
        * `completed` - Completed
        * `opted_out` - Opted Out
        * `unreachable` - Unreachable
        * `language_barrier` - Language Barrier
        * `failed` - Failed
        * `cancelled` - Cancelled
    ErrorCodeEnum:
      type: string
      enum:
        - error
        - invalid_input
        - parse_error
        - authentication_failed
        - not_authenticated
        - permission_denied
        - not_found
        - method_not_allowed
        - not_acceptable
        - unsupported_media_type
        - throttled
        - required
        - does_not_exist
        - incorrect_type
        - no_match
        - incorrect_match
        - not_a_list
        - not_a_dict
        - empty
        - candidate_user_mismatch
        - candidate_not_found
        - cross_organization_application
        - already_exists
        - call_service_error
        - call_not_joinable
        - call_config_error
        - call_access_denied
        - call_already_linked
        - date_range_too_large
        - date_range_start_after_end
        - invalid_date
        - language_not_configured
        - vapi_api_error
        - webhook_processing_error
        - proxy_error
        - configuration_error
        - interview_call_already_processed
        - call_type_switch_error
        - slot_in_past
        - interview_not_scheduled
        - interview_opt_out_not_eligible
        - interview_retry_not_allowed
        - retake_limit_reached
        - interview_session_not_joinable
        - interview_session_retake_not_eligible
        - interview_session_already_processing
        - interview_session_not_completed
        - interview_session_reset_not_allowed
        - interview_mode_locked
        - application_already_exists
        - gateway_verification_failed
        - invalid_file_type
        - file_too_large
        - cv_already_exists
        - cv_required
        - custom_fields_too_large
        - nylas_grant_already_exists
        - nylas_upstream_error
        - otp_challenge_not_found
        - job_posting_not_found
        - job_application_not_found
        - workflow_execution_error
        - llm_generation_failed
        - report_generation_failed
        - interview_config_has_no_criteria
        - scheduling_not_enabled
        - interview_session_not_reschedulable
        - interview_version_mismatch
        - v3_job_missing_config
        - idempotency_key_conflict
        - idempotency_key_invalid
        - application_status_transition_invalid
        - application_state_conflict
        - external_id_conflict
        - qualification_cannot_have_score
        - competency_requires_bars
      description: Machine-readable error code
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication for the public API. Pass your API key as a Bearer
        token.

````