Setting up Webhooks
To use webhooks, you need to set up a webhook endpoint URL in your application that can receive POST requests from Cobalt. This URL should be publicly accessible and use HTTPS for security. You can set up multiple webhook urls (eg. one for development and one for production) and Cobalt will send the same webhook event to each url.Register
To register a new webhook one POST to/v1/webhook
Example request:
Get Configuration
To retrieve your current webhook configuration GET/v1/webhook
Example request:
Remove a Webhook URL
To remove a webhook url DELETE/v1/webhook/:id
Example request:
Rotate Secret
To rotate your webhook secret key POST/v1/webhook/rotate-secret