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

# Zapier: Update Candidate Stage

> Moves a candidate to a different stage. Accepts job and candidate by id/email/name and stage by id/name.



## OpenAPI

````yaml /api-reference/openapi-zapier.json post /zapier/zap-update-stage
openapi: 3.1.0
info:
  title: Stardex API (Zapier)
  version: 1.0.0
  description: Stardex Zapier integration endpoints.
servers:
  - url: https://api.stardex.ai
    description: Production API server
security:
  - bearerAuth: []
tags: []
paths:
  /zapier/zap-update-stage:
    post:
      tags:
        - Zapier Endpoints
      summary: 'Zapier: Update Candidate Stage'
      description: >-
        Moves a candidate to a different stage. Accepts job and candidate by
        id/email/name and stage by id/name.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ZapUpdateStageBody'
      responses:
        '200':
          description: Stage updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ZapUpdateStageResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
components:
  schemas:
    ZapUpdateStageBody:
      type: object
      properties:
        job_id:
          type: string
          format: uuid
        job_name:
          type: string
          minLength: 1
        candidate_id:
          type: string
          format: uuid
        candidate_email:
          type: string
          format: email
        candidate_name:
          type: string
          minLength: 1
        stage_id:
          type: string
          minLength: 1
        stage_name:
          type: string
          minLength: 1
    ZapUpdateStageResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        message:
          type: string
          enum:
            - Stage updated successfully
        data:
          type: object
          properties:
            candidate_id:
              type: string
            person_id:
              type: string
            job_id:
              type: string
            previous_stage_id:
              type:
                - string
                - 'null'
            new_stage_id:
              type: string
          required:
            - candidate_id
            - person_id
            - job_id
            - previous_stage_id
            - new_stage_id
      required:
        - success
        - message
        - data
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Authenticate with a Bearer token: API key, OAuth token, or session
        token.

````