API reference · Watchlists and webhooks

Rotate your webhook signing secret

POST/v1/webhooks/secret/rotate

Deliveries from now on are signed with the new secret; the old one stops working immediately.

Example request

Shell
curl -X POST "https://api.adlibapi.com/v1/webhooks/secret/rotate" \
  -H "X-API-Key: $ADLIB_API_KEY"

Send your key in the X-API-Key header. Try it in the explorer.

Response

data.secretrequired
string

e.g. whsec_3f0c…

data.versionrequired
integer
–