v1

latestOpenAPI 3.1.02026-07-24181585937.4 KB
Webhook Payloads

openingCreate

Triggered when a opening is created

postWebhookopeningCreate

Payload

action'openingCreate' required

Example payload

{
  "data": {
    "opening": {
      "id": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "openedAt": "2022-08-12T20:29:56.964Z",
      "closedAt": "2022-08-12T20:29:56.964Z",
      "archivedAt": "2022-08-12T20:29:56.964Z",
      "closeReasonId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
      "latestVersion": {
        "id": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
        "authorId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
        "createdAt": "2022-08-12T20:29:56.964Z",
        "teamId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e",
        "jobIds": [
          "e9ed20fd-d45f-4aad-8a00-a19bfba0083e"
        ],
        "locationIds": [
          "e9ed20fd-d45f-4aad-8a00-a19bfba0083e"
        ],
        "hiringTeam": [
          {
            "email": "test@ashbyhq.com",
            "firstName": "Joey",
            "lastName": "Joe",
            "role": "Hiring Manager",
            "userId": "e9ed20fd-d45f-4aad-8a00-a19bfba0083e"
          }
        ],
        "customFields": [
          {
            "id": "650e5f74-32db-4a0a-b61b-b9afece05023",
            "title": "Is actively looking",
            "value": true
          }
        ]
      }
    }
  }
}

Response

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