/api/policy/v1/enterprises/{enterpriseId}/webhooks/keysRegisters a new webhook signing key for an enterprise. The key can be provided inline via a JWKS payload or referenced via a JWKS URI.
Key ID selection: The keyId (derived from the kid field in the JWK, or
supplied explicitly for JWKS URI registrations) must be unique within the
enterprise. Once a keyId is used — even if the key is later revoked — it is
permanently tombstoned and cannot be reused. Plan for this by choosing a
stable, unique keyId from the start (e.g. my-key-v2).
Recommended rotation workflow:
keyId (e.g. my-key-v2).Authorization: Caller must be an admin of the specified enterprise.
enterpriseIdstringRequiredjwks object keys array[object] required jwksUri string https://example.com/.well-known/jwks.jsonkeyId string <= 255 charactersmy-key-v2keyName string Production Webhook Keyid string <uuid>required f47ac10b-58cc-4372-a567-0e02b2c3d479keyId string required customer-prod-key-2026algorithm EdDSA ECDSAEdDSAjwksUri https://example.com/.well-known/jwks.jsonstatus string required ACTIVEcreatedDate string <date-time>required 2026-01-12T10:30:00.000Zcode string message string status integer code string message string status integer code string message string status integer code string message string status integer code string message string status integer