Create a notification subscription
Notifications
Create a notification subscription
Subscribes to an event type via a delivery channel (webhook, email, or console).
POST
Create a notification subscription
Authorizations
Session cookie obtained from POST /api/auth/login.
Body
application/json
Example:
"Slack — new presentation"
Example:
"presentation.created"
Available options:
webhook, email, console Channel-specific config. Webhook: { url }. Email: { recipients: ["a@b.com"] }.
Scope to a specific deck (optional)
Response
Subscription created
Available options:
webhook, email, console Channel-specific configuration (e.g. URL for webhook, recipients for email)