Skip to main content
POST
Registrar endpoint de webhook

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string

Idempotency key (canonical).

X-Idempotency-Key
string

Idempotency key (legacy alias).

X-TTL
string

Idempotency key TTL in seconds (overrides the configured default).

Ejemplo:

"86400"

Cuerpo

application/json
eventTypes
string[] | null
requerido

Canonical control-plane event types to subscribe to (str.operation., str.readiness., str.certificate., str.approval.); at least one required.

Ejemplo:
secret
string
requerido

Shared signing secret (16-512 chars); encrypted at rest with AES-256-GCM and never returned.

Ejemplo:

"whsec_..."

url
string
requerido

HTTPS endpoint that receives event deliveries; max 2048 chars and subject to an SSRF check.

Ejemplo:

"https://example.com/webhooks/str-events"

isActive
boolean

Whether the endpoint is active and eligible to receive deliveries; defaults to active when omitted.

metadata
object

Arbitrary client-defined key/value metadata stored with the endpoint.

Respuesta

Created

correlationId
string
requerido

Request-scoped correlation identifier echoing X-Request-ID, for pivoting from response to trace.

Ejemplo:

"550e8400-e29b-41d4-a716-446655440001"

webhook
object
requerido

The created, fetched, or updated webhook endpoint.