Webhooks
Receiving
When an event occurs, Cobalt will send a POST request to your webhook URL with a JSON payload. The payload will include information about the event that occurred. To ensure the webhook is coming from Cobalt, we include a signature in the Cobalt-Verification header. You should validate this signature before processing the webhook.
Here’s an example of how to validate the webhook signature: