curl --request GET \
--url https://api.circle.com/v2/notifications/subscriptions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"name": "Transactions Webhook",
"endpoint": "https://example.org/handler/for/notifications",
"enabled": true,
"createDate": "2023-01-01T12:04:05Z",
"updateDate": "2023-01-01T12:04:05Z",
"notificationTypes": [
"*"
],
"restricted": false
}
]
}Retrieve an array of existing notification subscriptions.
curl --request GET \
--url https://api.circle.com/v2/notifications/subscriptions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"name": "Transactions Webhook",
"endpoint": "https://example.org/handler/for/notifications",
"enabled": true,
"createDate": "2023-01-01T12:04:05Z",
"updateDate": "2023-01-01T12:04:05Z",
"notificationTypes": [
"*"
],
"restricted": false
}
]
}Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.
Successfully retrieved notification subscriptions.
Show child attributes
System-generated unique identifier of the resource.
"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
Name of the webhook notification subscription.
"Transactions Webhook"
URL of the endpoint subscribing to notifications. Must be enabled to receive notifications.
"https://example.org/handler/for/notifications"
Whether the subscription is enabled. true indicates the subscription is enabled.
true
Date and time the resource was created, in ISO-8601 UTC format.
"2023-01-01T12:04:05Z"
Date and time the resource was last updated, in ISO-8601 UTC format.
"2023-01-01T12:04:05Z"
The notification types on which a notification will be sent.
*, transactions.*, transactions.inbound, transactions.outbound, challenges.*, challenges.accelerateTransaction, challenges.cancelTransaction, challenges.changePin, challenges.contractExecution, challenges.createTransaction, challenges.createWallet, challenges.initialize, challenges.restorePin, challenges.setPin, challenges.setSecurityQuestions, contracts.*, contracts.eventLog, modularWallet.*, modularWallet.userOperation, modularWallet.inboundTransfer, modularWallet.outboundTransfer, travelRule.*, travelRule.statusUpdate, travelRule.deny, travelRule.approve, rampSession.*, rampSession.completed, rampSession.depositReceived, rampSession.expired, rampSession.failed, rampSession.kycApproved, rampSession.kycRejected, rampSession.kycSubmitted ["*"]Whether the webhook is restricted to specific notification types. An unrestricted webhook will notify on all notification types. A restricted webhook will only notify on the notification types in the notificationTypes field.
false
Was this page helpful?