---
updatedAt: 2026-05-27T00:31:36.000Z
agentTools:
  projectIndex: https://developers.ashbyhq.com/llms.txt
---

# candidateStageChange

Triggered when a candidate changes stages in an application. Also triggered by [candidateHire](ref:candidatehirewebhook)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "2026-01-01",
    "title": "Ashby API",
    "description": "The public API for accessing resources in your Ashby instance.",
    "contact": {
      "name": "Ashby Support",
      "url": "https://app.ashbyhq.com/support",
      "email": "support@ashbyhq.com"
    }
  },
  "servers": [
    {
      "url": "https://api.ashbyhq.com"
    }
  ],
  "security": [
    {
      "BasicAuth": []
    }
  ],
  "webhooks": {
    "candidateStageChange": {
      "post": {
        "summary": "candidateStageChange",
        "description": "Triggered when a candidate changes stages in an application. Also triggered by [candidateHire](ref:candidatehirewebhook)",
        "operationId": "candidateStageChangeWebhook",
        "tags": [
          "Webhook Payloads"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "action",
                  "data"
                ],
                "properties": {
                  "action": {
                    "type": "string",
                    "enum": [
                      "candidateStageChange"
                    ]
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "application": {
                        "$ref": "#/components/schemas/OverlayApplication"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 200 status to indicate that the data was received successfully"
          }
        },
        "security": [
          {
            "WebhookSignature": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "id": {
        "type": "string",
        "format": "uuid",
        "example": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e"
      },
      "email": {
        "type": "string",
        "example": "test@ashbyhq.com"
      },
      "OverlayHiringTeamRole": {
        "type": "object",
        "properties": {
          "email": {
            "$ref": "#/components/schemas/email"
          },
          "firstName": {
            "type": "string",
            "example": "Joey"
          },
          "lastName": {
            "type": "string",
            "example": "Joe"
          },
          "role": {
            "type": "string",
            "example": "Hiring Manager"
          },
          "userId": {
            "$ref": "#/components/schemas/id"
          }
        },
        "required": [
          "userId",
          "firstName",
          "lastName",
          "email",
          "role"
        ]
      },
      "createdAt": {
        "type": "string",
        "example": "2022-08-12T20:29:56.964Z",
        "format": "date-time"
      },
      "OverlayCustomField": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "isPrivate": {
            "type": "boolean",
            "example": false
          },
          "title": {
            "type": "string"
          },
          "valueLabel": {
            "description": "The label of the custom field value. This is only present for value select custom fields.",
            "oneOf": [
              {
                "type": "string",
                "title": "String"
              },
              {
                "type": "array",
                "title": "MultiValueSelect",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "value": {
            "oneOf": [
              {
                "type": "boolean",
                "title": "Boolean"
              },
              {
                "type": "object",
                "title": "Currency",
                "properties": {
                  "value": {
                    "type": "number",
                    "example": 1000000,
                    "format": "currency"
                  },
                  "currencyCode": {
                    "type": "string",
                    "example": "USD"
                  }
                }
              },
              {
                "type": "string",
                "title": "Date",
                "format": "date-time"
              },
              {
                "type": "string",
                "title": "String"
              },
              {
                "type": "string",
                "title": "LongText"
              },
              {
                "type": "array",
                "title": "MultiValueSelect",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "number",
                "title": "Number"
              },
              {
                "type": "object",
                "title": "NumberRange",
                "properties": {
                  "type": {
                    "type": "string",
                    "example": "number-range"
                  },
                  "minValue": {
                    "type": "number",
                    "example": 10000
                  },
                  "maxValue": {
                    "type": "number",
                    "example": 100000
                  }
                },
                "required": [
                  "type",
                  "minValue",
                  "maxValue"
                ]
              },
              {
                "type": "object",
                "title": "CompensationRange",
                "properties": {
                  "type": {
                    "type": "string",
                    "example": "compensation-range"
                  },
                  "minValue": {
                    "type": "number",
                    "example": 40000
                  },
                  "maxValue": {
                    "type": "number",
                    "example": 50000
                  },
                  "currencyCode": {
                    "type": "string",
                    "example": "USD"
                  },
                  "interval": {
                    "type": "string",
                    "enum": [
                      "NONE",
                      "1 TIME",
                      "1 HOUR",
                      "1 DAY",
                      "1 WEEK",
                      "2 WEEK",
                      "1 MONTH",
                      "2 MONTH",
                      "1 YEAR",
                      "6 MONTH",
                      "0.5 MONTH",
                      "3 MONTH"
                    ],
                    "example": "1 YEAR"
                  }
                },
                "required": [
                  "type",
                  "minValue",
                  "maxValue",
                  "currencyCode",
                  "interval"
                ]
              },
              {
                "type": "string",
                "title": "ValueSelect"
              }
            ]
          }
        },
        "required": [
          "id",
          "title",
          "value"
        ],
        "examples": [
          {
            "id": "650e5f74-32db-4a0a-b61b-b9afece05023",
            "title": "Is actively looking",
            "value": true
          },
          {
            "id": "650e5f74-32db-4a0a-b61b-b9afece05024",
            "title": "Years of experience",
            "value": 5
          },
          {
            "id": "650e5f74-32db-4a0a-b61b-b9afece05025",
            "title": "Salary expectation",
            "value": {
              "value": 100000,
              "currencyCode": "USD"
            }
          },
          {
            "id": "650e5f74-32db-4a0a-b61b-b9afece05026",
            "title": "Expected start date",
            "value": "2022-11-10T19:47:56.795Z"
          }
        ]
      },
      "OverlayContactInfo": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "The email address or phone number of the candidate"
          },
          "type": {
            "enum": [
              "Personal",
              "Work",
              "Other"
            ],
            "description": "The type of the contact info"
          },
          "isPrimary": {
            "type": "boolean",
            "description": "Whether the contact info is the primary email or phone number"
          }
        },
        "required": [
          "value",
          "type",
          "isPrimary"
        ],
        "example": {
          "value": "test@ashbyhq.com",
          "type": "Work",
          "isPrimary": true
        }
      },
      "OverlayBaseInterviewStage": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "title": {
            "type": "string",
            "example": "Offer"
          },
          "type": {
            "type": "string",
            "example": "Offer"
          },
          "orderInInterviewPlan": {
            "type": "integer",
            "example": 1006,
            "default": 0
          },
          "interviewStageGroupId": {
            "type": "string",
            "example": "5f7b3b3b-7b1b-4b1b-8b3b-7b1b4b1b8b3b"
          }
        },
        "required": [
          "id",
          "title",
          "type",
          "orderInInterviewPlan"
        ]
      },
      "OverlayInterviewStage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/OverlayBaseInterviewStage"
          },
          {
            "type": "object",
            "properties": {
              "interviewPlanId": {
                "$ref": "#/components/schemas/id"
              }
            },
            "required": [
              "interviewPlanId"
            ]
          }
        ]
      },
      "isArchived": {
        "type": "boolean",
        "example": false
      },
      "OverlaySourceType": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "title": {
            "type": "string",
            "example": "Inbound"
          },
          "isArchived": {
            "$ref": "#/components/schemas/isArchived"
          }
        },
        "required": [
          "id",
          "title",
          "isArchived"
        ]
      },
      "OverlaySource": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "title": {
            "type": "string",
            "example": "Applied"
          },
          "isArchived": {
            "$ref": "#/components/schemas/isArchived"
          },
          "sourceType": {
            "$ref": "#/components/schemas/OverlaySourceType"
          }
        },
        "required": [
          "id",
          "title",
          "isArchived"
        ]
      },
      "OverlayArchiveReason": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "text": {
            "type": "string",
            "example": "Too inexperienced"
          },
          "reasonType": {
            "enum": [
              "RejectedByCandidate",
              "RejectedByOrg",
              "Other"
            ],
            "example": "RejectedByOrg"
          },
          "isArchived": {
            "$ref": "#/components/schemas/isArchived"
          }
        },
        "required": [
          "id",
          "text",
          "reasonType",
          "isArchived"
        ]
      },
      "ArchiveDetails": {
        "allOf": [
          {
            "$ref": "#/components/schemas/OverlayArchiveReason"
          },
          {
            "type": "object",
            "properties": {
              "customFields": {
                "type": "array",
                "description": "Archive detail custom field values",
                "items": {
                  "$ref": "#/components/schemas/OverlayCustomField"
                }
              }
            },
            "required": [
              "customFields"
            ]
          }
        ]
      },
      "OverlayUser": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "firstName": {
            "type": "string",
            "example": "Test"
          },
          "lastName": {
            "type": "string",
            "example": "User"
          },
          "email": {
            "$ref": "#/components/schemas/email"
          },
          "globalRole": {
            "type": "string",
            "enum": [
              "Organization Admin",
              "Elevated Access",
              "Limited Access",
              "External Recruiter"
            ]
          },
          "isEnabled": {
            "type": "boolean"
          },
          "updatedAt": {
            "$ref": "#/components/schemas/createdAt"
          },
          "managerId": {
            "description": "The user id of the user's manager",
            "$ref": "#/components/schemas/id"
          },
          "customFields": {
            "type": "array",
            "description": "Custom field values associated with the user. **Note:** This field requires a feature to be enabled for your organization. If it is not present in the response, please contact Ashby support to have it enabled.",
            "items": {
              "$ref": "#/components/schemas/OverlayCustomField"
            }
          }
        },
        "required": [
          "id",
          "firstName",
          "lastName",
          "globalRole",
          "isEnabled",
          "updatedAt"
        ]
      },
      "OverlayApplication": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/id"
          },
          "createdAt": {
            "$ref": "#/components/schemas/createdAt"
          },
          "updatedAt": {
            "$ref": "#/components/schemas/createdAt"
          },
          "status": {
            "type": "string",
            "enum": [
              "Hired",
              "Archived",
              "Active",
              "Lead"
            ],
            "description": "The status of the application"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverlayCustomField"
            }
          },
          "candidate": {
            "type": "object",
            "description": "The candidate associated with the application",
            "properties": {
              "id": {
                "$ref": "#/components/schemas/id"
              },
              "name": {
                "type": "string",
                "example": "James"
              },
              "primaryEmailAddress": {
                "$ref": "#/components/schemas/OverlayContactInfo"
              },
              "primaryPhoneNumber": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OverlayContactInfo"
                  },
                  {
                    "example": {
                      "value": "222-222-3344",
                      "type": "Work",
                      "isPrimary": true
                    }
                  }
                ]
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "currentInterviewStage": {
            "$ref": "#/components/schemas/OverlayInterviewStage"
          },
          "source": {
            "$ref": "#/components/schemas/OverlaySource"
          },
          "archiveReason": {
            "$ref": "#/components/schemas/ArchiveDetails"
          },
          "archivedAt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/createdAt"
              },
              {
                "description": "The timestamp an application was archived"
              }
            ]
          },
          "job": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": "4071538b-3cac-4fbf-ac76-f78ed250ffdd"
              },
              "title": {
                "type": "string",
                "example": "First Designer"
              },
              "locationId": {
                "$ref": "#/components/schemas/id"
              },
              "departmentId": {
                "$ref": "#/components/schemas/id"
              }
            },
            "required": [
              "id",
              "title"
            ]
          },
          "creditedToUser": {
            "$ref": "#/components/schemas/OverlayUser"
          },
          "hiringTeam": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverlayHiringTeamRole"
            }
          },
          "appliedViaJobPostingId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/id"
              },
              {
                "description": "The id of the first job posting the candidate applied through. If the candidate submitted applications via multiple job postings for the same job, this will be the earliest one."
              }
            ]
          },
          "submitterClientIp": {
            "type": "string",
            "example": "79.255.55.222",
            "description": "The IP address (can be v4 or v6) of the client that submitted the application, if it was submitted through the external job board."
          },
          "submitterUserAgent": {
            "type": "string",
            "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",
            "description": "The user agent of the client that submitted the application, if it was submitted through the external job board."
          }
        },
        "required": [
          "id",
          "createdAt",
          "updatedAt",
          "candidate",
          "status",
          "currentInterviewStage",
          "job",
          "hiringTeam"
        ]
      }
    },
    "securitySchemes": {
      "BasicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Use HTTP Basic Auth to authenticate with our API. You must send your API key with every request. \nPut your API key as the basic auth username and leave the password blank.\n"
      },
      "WebhookSignature": {
        "type": "apiKey",
        "in": "header",
        "name": "Ashby-Signature",
        "description": "[Optional] If you provide a secret token when configuring your webhook, this will be used to create a digest of the JSON payload sent with each webhook request.\nThe digest will be included in the request under the `Ashby-Signature` http header.\n\nIt will look like this:\n`Ashby-Signature: sha256=f3124911d2956f10aa3a49c43a88bdf13bba846e94f0ae2bd7c034f90239bd04`\n\nThe part before the = indicates the algorithm that was used to compute the hash digest.\n"
      }
    }
  },
  "x-readme": {
    "apply-tag-changes": true
  }
}
```