Notifications API
Create a notification provider
Create a new notification provider (email, Slack, webhook, Telegram, Discord, or Teams).
Authorization
bearerAuth AuthorizationBearer <token>
CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.
In: header
Request Body
application/json
name*string
type*string
Value in
"email" | "slack" | "webhook" | "telegram" | "discord" | "teams"config*object
Provider-specific configuration (e.g. webhookUrl for Slack)
Response Body
application/json
application/json
curl -X POST "https://demo.supercheck.dev/api/notification-providers" \ -H "Content-Type: application/json" \ -d '{ "name": "Slack Alerts", "type": "email", "config": {} }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"type": "email",
"enabled": true,
"config": {},
"lastUsed": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}{
"error": "Unauthorized"
}