Create a notification subscription

POST https://api.circle.com/v2/notifications/subscriptions

Subscribe an endpoint to receive notifications. The endpoint should be able to handle AWS SNS subscription requests. For more details please see this document.

https://developers.circle.com/w3s/reference/createsubscription

Request Body

{"endpoint"=>"https://example.org/handler/for/notifications"}

RESPONSES

status: Created

{"data":{"id":"518d46b9-4606-4a47-a450-bb4ecf34426d","name":"Standard Webhook","endpoint":"https://webhook.site/202922d9-c7af-4835-b177-5f6b947eae67","enabled":true,"createDate":"2024-01-25T20:59:35.030842Z","updateDate":"2024-01-25T20:59:35.030842Z"}}