Creates a notification subscription.
Required parameters to create a new subscription.
URL of the endpoint to subscribe to notifications. Must be publicly accessible, use HTTPS, and respond with a 2XX status to a POST request.
1const response = await client.createSubscription({
2 endpoint: 'https://example.com/notifications',
3})
4console.log(response)