Cronitor · Example Payload

Cronitor Create Monitor Example

MonitoringCron JobsScheduled TasksAlertingUptimeTelemetryStatus Pages

Cronitor Create Monitor Example is an example object payload from Cronitor, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

_descriptionrequestresponse

Example Payload

Raw ↑
{
  "_description": "Example: Create a cron job monitor via POST /api/monitors",
  "request": {
    "method": "POST",
    "url": "https://cronitor.io/api/monitors",
    "headers": {
      "Content-Type": "application/json",
      "Authorization": "Basic <base64(api_key:)>"
    },
    "body": {
      "key": "daily-database-backup",
      "name": "Daily Database Backup",
      "type": "job",
      "schedule": "0 2 * * *",
      "timezone": "America/New_York",
      "grace_seconds": 300,
      "failure_tolerance": 0,
      "notify": ["devops-team"],
      "realert_interval": "1 hour",
      "tags": ["production", "database", "backup"],
      "assertions": ["metric.duration < 3600"]
    }
  },
  "response": {
    "status": 201,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "key": "daily-database-backup",
      "name": "Daily Database Backup",
      "type": "job",
      "schedule": "0 2 * * *",
      "timezone": "America/New_York",
      "grace_seconds": 300,
      "failure_tolerance": 0,
      "notify": ["devops-team"],
      "realert_interval": "1 hour",
      "tags": ["production", "database", "backup"],
      "assertions": ["metric.duration < 3600"],
      "paused": false,
      "created": "2026-06-12T00:00:00Z",
      "latest_event": null,
      "latest_issue": null
    }
  }
}