Supercheck LogoSupercheck
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
/api/monitors/{id}/notifications

Authorization

bearerAuth
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.

In: header

Path Parameters

id*string

Monitor ID

Formatuuid

Request Body

application/json

notificationProviderId*string
Formatuuid

Response Body

application/json

application/json

application/json

curl -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"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "monitorId": "075fef10-8522-4c43-ac39-f1796133943e",
  "notificationProviderId": "67110db8-c97a-4c5e-9f7b-1140c6a24554"
}
Empty
{
  "error": "Unauthorized"
}
{
  "error": "string"
}
Empty
Empty
Empty