Supercheck LogoSupercheck
Notifications API

Create a notification provider

Create a new notification provider (email, Slack, webhook, Telegram, Discord, or Teams). The name is trimmed and must be 1-255 characters; config is limited to 20,000 characters when serialized.

POST
/api/notification-providers

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.

Request Body

application/json
  1. body
name*string
type*string
Value in"email""slack""webhook""telegram""discord""teams"
config*

Provider-specific configuration (e.g. webhookUrl for Slack)

Response Body

Provider created

application/json
  1. response
id?string
Formatuuid
name?string
type?string
Value in"email""slack""webhook""telegram""discord""teams"
enabled?boolean
config?
lastUsed?string
Formatdate-time
createdByName?string
createdByImage?string
createdAt?string
Formatdate-time
Example Request
curl -X POST 'https://demo.supercheck.dev/api/notification-providers' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "type": "email",  "config": {}}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "type": "email",  "enabled": true,  "config": {},  "lastUsed": "2019-08-24T14:15:22Z",  "createdByName": "string",  "createdByImage": "string",  "createdAt": "2019-08-24T14:15:22Z"}