Skip to main content
PATCH
Update webhook endpoint

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string

Idempotency key (canonical).

X-Idempotency-Key
string

Idempotency key (legacy alias).

X-TTL
string

Idempotency key TTL in seconds.

Example:

"86400"

Path Parameters

webhookId
string
required

Webhook UUID.

Example:

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

Body

application/json
eventTypes
string[]

New subscription list, re-validated against the canonical catalog. Omit to leave unchanged; an explicit empty array clears the subscription.

isActive
boolean

New active flag for the endpoint. Omit to leave unchanged.

metadata
object

New client-defined metadata. Omit to leave unchanged.

secret
string

New shared signing secret (16-512 chars); re-encrypted at rest. Omit to leave unchanged.

Example:

"whsec_0123456789abcdef"

url
string

New HTTPS endpoint; re-runs the HTTPS + SSRF check. Omit to leave unchanged.

Example:

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

Response

OK

correlationId
string
required

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

Example:

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

webhook
object
required

The created, fetched, or updated webhook endpoint.