# Job

> Source: https://developers.cloud66.com/v3/webhooks/job/

## Job Back On

URL: https://developers.cloud66.com/v3/webhooks/job/#backon
Event type: job.backon
Related models: job

This webhook is sent when a previously failing job executes successfully. The payload includes job information and success confirmation details.

### Payload

```json
{
  "timestamp": 1757011079,
  "event_type": "job.backon",
  "uid": "job-550e8400-e29b-41d4-a716",
  "name": "daily-backup",
  "type": "backup",
  "cron": "0 2 * * *",
  "status": "active",
  "paused": false,
  "params": {
    "retention_days": 30,
    "compress": true,
    "target_location": "s3://backup-bucket/daily"
  },
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-02-10T09:15:00Z"
}
```

---

## Job Failure

URL: https://developers.cloud66.com/v3/webhooks/job/#fail
Event type: job.fail
Related models: job

This webhook is sent when a scheduled job execution fails. The payload includes job information and configuration, along with execution failure details.

### Payload

```json
{
  "timestamp": 1757011079,
  "event_type": "job.fail",
  "uid": "job-550e8400-e29b-41d4-a716",
  "name": "daily-backup",
  "type": "backup",
  "cron": "0 2 * * *",
  "status": "active",
  "paused": false,
  "params": {
    "retention_days": 30,
    "compress": true,
    "target_location": "s3://backup-bucket/daily"
  },
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-02-10T09:15:00Z"
}
```
