SDK (@phosra/sdk)
Webhooks
Create a webhook
Register a webhook endpoint to receive event notifications.
POST
SDK (@phosra/sdk)
Webhooks deliver real-time events — enforcement completions, verification changes, policy updates —
to an HTTPS endpoint you control. Register one, send a test delivery, and inspect the delivery log.
Use Send a test delivery to fire a sample payload, then read
List deliveries to confirm receipt and debug retries.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Webhook created
Unique identifier for this resource.
Identifier of the family this resource belongs to.
HTTPS endpoint that receives POSTed webhook events.
List of event types this webhook subscribes to.
Whether the webhook is currently active and receiving deliveries.
RFC 3339 timestamp of when the resource was created.
RFC 3339 timestamp of the resource's most recent update.