Find out which events exist
The list of available events is returned by the API, so it stays current as events are added.
Call this first. The
events values you send when creating a webhook come from this list.
Create a webhook
The secret is shown once
The secret is what lets you confirm an incoming request really came from NodeMaven rather than from someone who guessed your URL. Store it somewhere your receiving service can read it, and treat it like any other credential.Rotating the secret
secret and, importantly, previous_secret_valid_until.
Rotation is not instant cut-over.
previous_secret_valid_until is a timestamp telling you how long the old secret keeps working. Until it passes, requests may be signed with either secret, so your receiver should accept both during that window.If the field comes back null, the old secret is not retained and the change takes effect immediately.Checking whether a webhook is working
Every webhook carries alast_delivery object, so you can see what happened on the most recent attempt without adding your own logging.
A
response_code of null usually means your endpoint could not be reached at all, rather than that it rejected the request.
Updating a webhook
Turning one off
To stop deliveries without losing the configuration, update the webhook withenabled set to false. To remove it permanently, delete it: