Requires subscriptions:manage. Registers the authenticated principal's public HTTPS callback after URL safety validation, encrypts the shared secret without returning it, and responds with the new subscription.
/v1/subscriptionsRequires subscriptions:manage. Registers the authenticated principal's public HTTPS callback after URL safety validation, encrypts the shared secret without returning it, and responds with the new subscription.
bearerAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/subscriptions" \ -H "Content-Type: application/json" \ -d '{ "active": true, "events": [ "CertificateIssued.v2", "CertificateFailed.v1" ], "secret": "replace-with-a-strong-shared-secret", "url": "https://consumer.example.com/webhooks/alfred" }'{ "subscription": { "active": true, "createdAt": "string", "events": [ "string" ], "health": "string", "id": "string", "kmsKeyId": "string", "ownerPrincipalId": "string", "url": "string" }}List webhook subscriptions GET
Requires subscriptions:manage and lists only webhook subscriptions owned by the authenticated principal. This read-only operation accepts a limit from 1 to 100.
Get webhook subscription GET
Requires subscriptions:manage and returns one webhook subscription only when it belongs to the authenticated principal. Secret material is never exposed.
true1 <= items1 <= lengthuri