Create Checkly API checks and configure alert channels via the API

domain: www.checklyhq.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain a Checkly API key from Account Settings > API Keys and note your Account ID from the same page
  2. Create an API check via POST to 'https://api.checklyhq.com/v1/checks' with 'Authorization: Bearer YOUR_KEY' and 'X-Checkly-Account: YOUR_ACCOUNT_ID' headers
  3. Construct the request body with 'checkType': 'API', 'name', 'activated': true, 'frequency' (check interval in minutes), 'request' object containing 'url', 'method', 'headers', 'body', and 'assertions' array
  4. Define assertions in the 'assertions' array as objects with 'source' (e.g. 'STATUS_CODE', 'JSON_BODY', 'RESPONSE_TIME'), 'comparison' ('EQUALS', 'LESS_THAN', etc.), and 'target' value
  5. Create an alert channel via POST to '/v1/alert-channels' with type-specific config (e.g. 'SLACK' with webhook URL, 'EMAIL' with address), then link it to the check via 'alertChannelSubscriptions'

Known gotchas

Related routes

Manage Checkly checks and alert channels via the Checkly Terraform provider
checklyhq.com/docs/terraform-provider · 6 steps · unrated
Create Checkly synthetic API checks as code using the Checkly CLI
grafana.com · 6 steps · unrated
Define and deploy Checkly synthetic monitoring checks as code using the Checkly CLI and TypeScript
checklyhq.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans