Sign in

Create check

documented

Create a new uptime check.

POST /api/v1/checks/Checksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.freshping.io/api/v1/checks/" \
  -X POST \
  -u "{{FRESHPING_API_KEY}}:{{FRESHPING_SECRET}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$title}}", "alert_note": "{{$alert_note}}", "location": "{{$location}}", "alert_users": {{$alert_users}}, "alert_contacts": {{$alert_contacts}}, "monitoring_interval": {{$monitoring_interval}}, "url": "{{$url}}", "request_timeout": {{$request_timeout}}, "basic_auth_username": "{{$basic_auth_username}}", "basic_auth_password": "{{$basic_auth_password}}", "custom_header": {{$custom_header}}, "command_string": "{{$command_string}}", "success_string": "{{$success_string}}", "error_string": "{{$error_string}}" }'