Create a new subscription for notification events. This endpoint is deprecated. Please use the specific endpoints instead for webhooks or email.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Type of subscription, one of 'webhook' or 'email' or 'sms'
"webhook"
List of event codes to subscribe to. Event codes can be retrieved from the /notifications/events endpoint. Pass 'all' for all events.
If a webhook, the URL that will receive the event(s)
"https://example.com/webhook"
Subscription created successfully
Unique identifier
"0227d1e5-ba9a-42b5-8fe2-38882aa65708"
Date and time the subscription was created
Whether the subscription is currently active
true
Type of subscription, one of 'webhook' or 'email' or 'sms'
"webhook"
ID of the user who created the subscription; for email or sms endpoints, this is the recipient.
"0227d1e5-ba9a-42b5-8fe2-38882aa65708"