Webhook endpoints
Where your events go, signed with a secret shown once. One endpoint for now.
Register your webhook endpoint
/v1/webhook-endpointsRegisters the URL Gave sends your events to, and answers the secret that signs them,
shown this once: keep it on your servers, and check every delivery's signature with it.
One endpoint for now, at an https URL with a public host name. Gave never follows a
redirect.
Change a webhook endpoint's URL
/v1/webhook-endpoints/{id}Deliveries go to the new URL within a minute. The secret doesn't change.
Delete a webhook endpoint
/v1/webhook-endpoints/{id}Stops deliveries within a minute. Events after that aren't sent: read balances and rewards through the API instead.
Rotate a webhook endpoint's secret
/v1/webhook-endpoints/{id}/rotate-secretMakes a new signing secret, shown this once, which signs deliveries within a minute. Each secret it replaces keeps signing for 24 hours from its rotation, up to four, so you can switch without missing a delivery, and a rotation retried after a lost answer cuts nothing off. Each call makes a new secret.