Preparing to receive a Webhook Notification
Before enabling Circuit to send you Webhook notifications you must make sure you are prepared to receive them:
- You will need to implement an HTTPS endpoint to receive POST requests.
- For each request received from Circuit, your endpoint needs to answer with a
- Circuit will not transfer any data on unsafe connections. So please, ensure your created endpoint is both public, and can handle HTTPS connections. We accept endpoints with self-signed keys.
Enabling the Webhook Notifications
Go to the settings page
Finally, to enable receiving messages from Circuit, go to your team's settings page, on the
Fill your endpoint URL
Now, fill in your endpoint URL:
Select the API version
Now, select the webhook API version, this will dictate what messages you receive.
Test your webhook
Now, you can test your webhook, to do this, click on the test button. You will either receive an error with why it failed or a success message.
If everything goes well with your test, you can now enable the webhook:
You can check a quick guide on Implementing the Endpoint
You can check the supported Webhook Events
You can check how to add signature verification
And finally, we recommend some best practices on consuming the API.