ReferenceWebhooks

Webhooks

Get called when something happens instead of polling. Duranta sends each event as an HTTPS POST with a JSON body {"id", "type", "timestamp", "data"} and the Standard Webhooks headers webhook-id, webhook-timestamp and webhook-signature; verify the signature with the secret from CreateWebhookEndpoint. Answer with a 2xx status within 15 seconds. Anything else, including redirects, is retried up to 8 attempts over about 27 hours. The data.site of a site event is the same Site that ListSites returns. Requires the sites:scan scope.

Endpoints