Setting up Webhooks

1

Events

Identify what events you would like to monitor here.
2

Endpoint

Develop a webhook endpoint to receive event data POST requests, making sure it uses HTTPS.
3

Enable

Register your endpoint with Dynamic using the Webhooks Developer Dashboard or the API.

Signature validation

Dynamic follows general best practice when it comes to signature validation. As such, each payload includes a x-dynamic-signature-256 header which has a hash signature value, generated from your secret token. Each webhook has a unique secret token that is used to generate the message signature from the event object. This secret can be found on the webhook detail page in the Developer Dashboard. webhook secret To perform the validation, you can follow the guide here for a javascript implementation. There are plenty of other template examples out there to help with different implementations. We recommend the Github guide as it follows exactly the same format of signature as we do.

Next Steps