SDK Explorer

Create a notification subscription by configuring an endpoint to receive notifications.

For details, see the Notification Flows guide.

Parameters
input
object
Required

Required parameters to create a new subscription.

endpoint
string
Required

URL of the endpoint to subscribe to notifications. Must be publicly accessible, use HTTPS, and respond with a 2XX status to a POST request.

Responses
Example
1const response = await client.createSubscription({
2  endpoint: 'https://example.org/handler/for/notifications',
3})
4console.log(response)
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.