Supercheck LogoSupercheck
Monitors API

Rotate a heartbeat ping URL

POST
/api/monitors/{id}/heartbeat-url/rotate

Creates a new ping URL; the old one stops working at once. Requires monitor update permission; audited as monitor_heartbeat_url_rotated. See /docs/app/heartbeat.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

Path Parameters

id*string

Heartbeat monitor ID

Formatuuid

Response Body

The ping URL. Sent with Cache-Control: no-store.

application/json
  1. response
pingUrl*string
Formaturi
Example Request
curl -X POST 'https://app.supercheck.io/api/monitors/497f6eca-6276-4993-bfeb-53cbbbba6f08/heartbeat-url/rotate'
Example Response
{  "pingUrl": "http://example.com"}