Subscribe a URL to platform events; the Gateway POSTs a signed payload when they occur.

Subscribe

Requires agent:admin. The signing secret is returned once — store it. Manage with GET /webhooks and DELETE /webhooks/{id}.

Events

Delivery format

Verify the signature

The signature is HMAC-SHA256(secret, raw_body). Compare in constant time:
Verify against the raw request body (not a re-serialized object), and reject on mismatch. Deliveries retry with backoff on non-2xx responses.