Job-based webhook events trigger when bulk publish/unpublish operations complete. These are typically used when you need a single webhook notification summarizing the outcome of a job, rather than one webhook notification per entry or asset.
| Event Name | Description |
| jobs.environments.publish.completed | Triggered when a bulk publish job completes in any environment |
| jobs.environments.unpublish.completed | Triggered when a bulk unpublish job completes in any environment |
| jobs.environments.{environment_name}.publish.completed | Triggered when a bulk publish job completes in a specific environment |
| jobs.environments.{environment_name}.unpublish.completed | Triggered when a bulk unpublish job completes in a specific environment |
| Differentiating Factor | Entry-/Asset-based Webhooks | Job-based Webhooks |
| Trigger Condition | Per entry/asset action | Per job completion |
| Bulk Publish/Unpublish of N Items | Webhook triggered N times | Webhook triggered once |
| Single Item Publish/Unpublish | Webhook triggered once | Webhook triggered once |
| Payload Content | Full entry/asset details | Summary (job ID, status counts) |
| Use Cases | Per-item tracking | Summary-based cache updates |
Job-based webhooks are especially useful for post-processing bulk operations. You can use the job_id from the webhook payload to retrieve the list of items involved.
Follow the steps below to retrieve entry/asset information via job_id:
{
...
"job_id": "00906443-2ba3-420e-a3bd-2b6b4cd7c5745"
}These steps help you retrieve full metadata and content for assets/entries within a job-based webhook.