Webhooks
Asset uses webhooks to send notifications regarding specific requests and updates about the platform.
Configuring Webhooks
- In the Asset Dashboard, go to Developers → Webhooks.
- Enter your
Endpoint URL
(HTTPS only). - (Optional) Add custom
Headers
such as anAuthorization
token or anx-asset-signature
secret. - Click Save.
Disabling Webhooks
There might be times in which you want to temporarily disable webhooks. To do this, follow the steps below:
- In the Asset Dashboard, open Developers → Webhooks.
- Toggle
Enabled
off. - Click Save.
Retries
If there is non-200 response or the request times out, Asset will retry the request two more times, each with an exponential backoff. The first delay will be 5 seconds, and the second daly will be 10 seconds.
Headers
Every webhook request comes with two headers asset-id
and asset-signature
. The asset-id
header uniquely
identifies the webhook request, and asset-signature
is the signature of the request. You can use the public key
at https://api.getasset.com/.well-known/jwks.json
to validate the signature. Below is a sample Python code snipet
that shows how to validate the signature.
Questions? Reach out via our Contact form or email support@getasset.com.