Create a permissionless webhook subscription by configuring an endpoint to receive event notifications. Specify the environment, wallet addresses to monitor, blockchain domains to watch, and event types to receive.
Documentation Index
Fetch the complete documentation index at: https://developers.circle.com/llms.txt
Use this file to discover all available pages before exploring further.
Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are required to make a successful request.
Developer-provided identifier for this request, used for tracing requests in Wallets API logs and the Developer Console, and when communicating with Circle Support. Must be a UUID to appear in logs. Non-UUID values are accepted by the API but are ignored by logging and tracing systems.
A unique identifier, which can be helpful for identifying a request when communicating with Circle support.
"2adba88e-9d63-44bc-b975-9b6ae3440dde"
Schema for the request payload to create a new subscription.
Required parameters to create a new subscription.
The environment for the subscription. Use TEST to receive testnet events or LIVE to receive mainnet events.
TEST, LIVE "TEST"
URL of the endpoint to subscribe to notifications. Must be publicly accessible, use HTTPS, and respond with a 2XX status to a POST request.
"https://example.org/handler/for/notifications"
The EVM or Solana wallet addresses to monitor. Notifications fire only for events on these addresses.
[
"0x1234567890abcdef1234567890abcdef12345678"
]
The CCTP domain identifiers for the blockchains to watch.
["26"]
Name of the webhook notification subscription.
"Gateway Webhooks"
Whether the subscription is enabled. Defaults to true.
true
The notification types to subscribe to. If omitted or if gateway.* is provided, the webhook is unrestricted for Gateway events and the response returns restricted: false. If individual event types are provided, the webhook is restricted to those event types.
Notification type for Gateway webhook subscriptions. Omit notificationTypes or use
gateway.* to subscribe to all current and future Gateway notification types. Use individual
event types to restrict delivery to specific Gateway events.
gateway.*, gateway.deposit.finalized, gateway.mint.finalized, gateway.mint.forwarded ["gateway.*"]
Successfully created a webhook subscription.
Contains information about a permissionless webhook notification subscription.