Monitors API
Link a notification provider to a monitor
Attach a notification provider to a monitor. The provider must belong to the same project as the monitor.
POST
bearerAuthheader
AuthorizationBearer <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.
id*stringMonitor ID
Format
uuidapplication/json- body
notificationProviderId*stringFormat
uuidNotification link created
application/json- response
id?stringFormat
uuidmonitorId?stringFormat
uuidnotificationProviderId?stringFormat
uuidcurl -X POST 'https://demo.supercheck.dev/api/monitors/497f6eca-6276-4993-bfeb-53cbbbba6f08/notifications' \ -H 'Content-Type: application/json' \ -d '{ "notificationProviderId": "67110db8-c97a-4c5e-9f7b-1140c6a24554"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "monitorId": "075fef10-8522-4c43-ac39-f1796133943e", "notificationProviderId": "67110db8-c97a-4c5e-9f7b-1140c6a24554"}