Skip to main content
PATCH
Update a webhook endpoint

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Path Parameters

webhook_id
string
required

Body

application/json
url
string
description
string
events
string[]
enabled
boolean
secret
string
expected_updated_at
string<date-time>

Optional. The updated_at you read, sent back unchanged (a time with a zone). The change, a rotated secret included, is saved only if the endpoint still has that updated_at; otherwise 409 conflict with reason stale_webhook and nothing is written.

Response

OK

id
string
required
object
any
required
url
string
required
events
string[]
required
enabled
boolean
required
post_call_filter
object
description
any
has_secret
boolean
workspace_id
any
created_at
any
updated_at
any