# Job Status Changed

Sent when a job status changes.

Endpoint: POST job.status.changed
Version: 1.0.0

## Header parameters:

  - `X-Connect-Signature` (string, required)
    HMAC SHA-256 signature of the webhook request. It is calculated with the webhook secret over the value `${X-Connect-Timestamp}.${rawRequestBody}`.

  - `X-Connect-Timestamp` (integer, required)
    Unix timestamp, in seconds, used when calculating the webhook signature.

  - `X-Connect-Event-Id` (string, required)
    Unique identifier of the webhook event. This is the same value as `data.eventId` in the payload.

## Request fields (application/json):

  - `eventType` (string, required)
    Enum: "job.status.changed"

  - `timestamp` (string, required)
    Example: 2025-04-01T10:11:34.518Z

  - `version` (string, required)
    Example: 1

  - `data` (object, required)

  - `data.eventId` (string, required)
    Example: 01KN4017Y7T44D4V0EY21RHFZX

  - `data.companyId` (string, required)
    Example: 01KN4017Y7T44D4V0EY21RHFZX

  - `data.departmentId` (string, required)
    Example: 01KN4017Y7T44D4V0EY21RHFZX

  - `data.jobId` (string, required)
    Example: 01KN4017Y7T44D4V0EY21RHFZX

  - `data.workflowId` (string, required)
    Example: 01KN4017Y7T44D4V0EY21RHFZX

  - `data.status` (string, required)
    Enum: "OK", "CANCELLED", "ERROR", "ACTION_REQUIRED"

  - `data.fileCount` (number, required)
    Example: 1

  - `data.sendingEventCount` (number, required)
    Example: 1

## Response 200:

  - `200` (unknown)
    Return a 2xx response to acknowledge successful receipt.

