Create a change-detection monitor
Creates a recurring change-detection monitor for a URL, delivering results via webhook.
Authorization
AuthorizationRequiredBearer <token>API key. Manage keys from the dashboard at app.bytekit.com.
In: header
Request Body
application/jsonRequiredurlRequiredstringFormat:
"uri"typestringDefault:
"screenshot"Value in: "screenshot" | "scrape"interval_typeRequiredstringValue in:
"hourly" | "daily" | "weekly" | "cron"cron_expressionstring5-field cron expression. Required when interval_type is "cron".
change_thresholdnumberDefault:
5Minimum: 0Maximum: 100notify_onstringDefault:
"change"Value in: "change" | "every"webhook_urlRequiredstringWebhook endpoint URL (HTTPS only; http:// rejected with 400 invalid_url, reason scheme_unsupported)
Pattern:
"^https://"Format: "uri"webhook_secretstringwebhook_headersobjectMax 20 headers. Keys must match /^[A-Za-z0-9-]+$/ and not be reserved.
optionsobjectScreenshot monitor options (device, viewport, format, etc.).
scrape_optionsobjectScrape monitor options (formats, country, headers, etc.). Only for type=scrape.
metadataobjectArbitrary key-value metadata. Max 4096 bytes when JSON-serialized.
Monitor created.