Supercheck LogoSupercheck
Notifications API

Update a notification provider

PUT
/api/notification-providers/{id}

Update a notification provider. Send only the fields to change. Omit config to keep the stored configuration (do not send back the masked config from a read); changing type requires a complete config for the new type, or the request returns 400.

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

Notification provider ID

Formatuuid

Request Body

application/json
  1. body
name?string
type?string
config?

Provider-specific configuration. Omit to keep the stored configuration. For webhooks, preset names the paging service; send the full request settings with it.

isEnabled?boolean

Turn the channel on or off.

Response Body

Provider updated

application/json
  1. response
id?string
Formatuuid
name?string
type?string
Value in"email""slack""webhook""telegram""discord""teams"
isEnabled?boolean

Whether the channel sends notifications.

config?
lastUsed?string
Formatdate-time
createdByName?string
createdByImage?string
createdAt?string
Formatdate-time
health?

Channel health from the newest delivery in the last 7 days. auth_failed: the receiver rejected the integration key (HTTP 401/403, never retried).

Example Request
curl -X PUT 'https://app.supercheck.io/api/notification-providers/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "type": "email",  "isEnabled": true,  "config": {},  "lastUsed": "2019-08-24T14:15:22Z",  "createdByName": "string",  "createdByImage": "string",  "createdAt": "2019-08-24T14:15:22Z",  "health": {    "state": "ok",    "at": "2019-08-24T14:15:22Z"  }}