v1

latestOpenAPI 3.1.02026-07-24181585937.4 KB
Webhook Payloads

jobUpdate

Triggered when a job is updated. Also triggered by interviewPlanTransition

postWebhookjobUpdate

Payload

action'jobUpdate' required

Example payload

{
  "data": {
    "job": {
      "id": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "locationId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "departmentId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "defaultInterviewPlanId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "interviewPlanIds": [
        "e9ed20fd-d45f-4aad-8a00-a19bfba0083e"
      ],
      "customFields": [
        {
          "id": "650e5f74-32db-4a0a-b61b-b9afece05023",
          "title": "Is actively looking",
          "value": true
        }
      ],
      "jobPostingIds": [
        "e9ed20fd-d45f-4aad-8a00-a19bfba0083e"
      ],
      "customRequisitionId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "brandId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "hiringTeam": [
        {
          "email": "test@ashbyhq.com",
          "firstName": "Joey",
          "lastName": "Joe",
          "role": "Hiring Manager",
          "userId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e"
        }
      ],
      "author": {
        "id": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
        "firstName": "Test",
        "lastName": "User",
        "email": "test@ashbyhq.com",
        "updatedAt": "2022-08-12T20:29:56.964Z",
        "managerId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
        "customFields": [
          {
            "id": "650e5f74-32db-4a0a-b61b-b9afece05023",
            "title": "Is actively looking",
            "value": true
          }
        ]
      },
      "createdAt": "2022-08-12T20:29:56.964Z",
      "updatedAt": "2022-08-12T20:29:56.964Z",
      "openedAt": "2022-08-12T20:29:56.964Z",
      "closedAt": "2022-08-12T20:29:56.964Z"
    }
  }
}

Response

Return a 200 status to indicate that the data was received successfully