Test your endpoint
Send your endpoint a test event of any type, before real events reach it.
The samples use the management key and an owner's or admin's session token, as in Webhook endpoints. In the Mountaya app, open the endpoint under Organization → Webhooks and select Send test event.
A test event carries the example payload of its type, as Event types shows it, with an id of its own. It is signed like any delivery, sent once, and never retried.
Mountaya delivers only to https URLs on public addresses, never to localhost. Give your local receiver a public https URL with a tunnel, then create an endpoint for it.
1
Start one of the signature samples on your machine, listening on port 8000.
2
Any tunnel that forwards a public https URL to your port works:
3
Create an endpoint for the URL the tunnel prints, in an organization you use for development. Store its secret as MOUNTAYA_WEBHOOK_SECRET. See Webhook endpoints.
4
Send a test, as above, and watch your receiver print it.
Delete the endpoint when you are done, so real events stop going to your machine.
The published signature test vectors cover a valid delivery, a rotation, a changed body and an expired timestamp. Run your verifier against them in your test suite.