We refreshed our doc site!

Bookmarked links may have changed

Read release notes

createSubscription

Web3 Services
Compliance Engine

Create a notification subscription

POSThttps://api.circle.com/v2/notifications/subscriptions

Create a notification subscription by configuring an endpoint to receive notifications. For details, see the Notification Flows guide.

Header parameters
X-Request-Id
string

Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.

Body parameters
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.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
4    "name": "Transactions Webhook",
5    "endpoint": "https://example.org/handler/for/notifications",
6    "enabled": true,
7    "createDate": "2023-01-01T12:04:05Z",
8    "updateDate": "2023-01-01T12:04:05Z"
9  }
10}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.