1. Expose a Subscriber Endpoint
To receive notifications on changes in resource status, you must expose a publicly accessible subscriber endpoint on your side. The endpoint must handle bothHEAD and POST requests over HTTPS.
To expose an endpoint for testing, you can use
webhook.site to inspect, test and automate incoming
HTTPS requests or e-mails directly in the web browser.
💡 Tip:When you visit webhook.site for the first time, you
should see a status message that looks similar to the following:
Your unique URL (Please copy it from here, not from the address bar!) https://webhook.site/83fa21a0-f00a-4673-bb50-bcf62c78b1f7Your unique URL:

https://webhook.site/83fa21a0-f00a-4673-bb50-bcf62c78b1f7. Use the
public-facing URL you receive as you progress throughout this guide.
2. Subscribe to Status Notifications
Now that you have a publicly accessible endpoint, you need to register your endpoint as a subscriber to webhook notifications by doing the following:- Navigate to Developer > Subscriptions in your Circle Mint account and click Add Subscription.

- Enter your endpoint URL from above. It will be similar to the earlier
example:
https://webhook.site/83fa21a0-f00a-4673-bb50-bcf62c78b1f7. - Click Add Subscription:

- You should receive two responses on your local server shell that confirm the subscription with a body similar to the following:
JSON
Note: The response body above is in a plain text format, so be sure you’re
not expecting a JSON content type.
- To complete the subscription process, visit the
SubscribeURLlink in each response. Messages won’t be sent to the endpoint until you confirm the subscription by accessing the URL. - After you visit the
SubscribeURLlinks, the subscription status updates toCOMPLETE, indicating it’s ready for use.
Note: In the Circle sandbox environment, if your subscription is stuck in
the
PENDING (unconfirmed) state, reach out to
customer-support@circle.com to remove
it.In the production environment, if your subscription is stuck in the PENDING
state, it’s automatically removed after 72 hours.