Create a new subscription for notification events. Subscriptions can be created for email, SMS, or webhooks.
Email and SMS subscriptions will be delivered to the email or phone number specified in the user profile.
For webhook subscriptions, your endpoint must be a valid SSL endpoint that accepts POST requests; returns a 2xx status code within 10 seconds; handles retries with exponential backoff. You may send a sample of any webhook to your endpoint using the /notification/sample
endpoint.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Subscription created successfully
The response is of type object
.