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
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.
application/json- body
name*stringtype*stringValue in
"email""slack""webhook""telegram""discord""teams"config*Provider-specific configuration (e.g. webhookUrl for Slack)
Provider created
application/json- response
id?stringFormat
uuidname?stringtype?stringValue in
"email""slack""webhook""telegram""discord""teams"enabled?booleanconfig?lastUsed?stringFormat
date-timecreatedByName?stringcreatedByImage?stringcreatedAt?stringFormat
date-timecurl -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"}