Webhooks

Update a webhook

Updates the fields sent; omitted fields remain unchanged. The resulting resourceType and events subscription must be valid. signatureSecret cannot be changed.

patch/events/webhooks/{webhook_id}

Request

  • Base URL: https://api.sandbase.ai
  • URL: https://api.sandbase.ai/events/webhooks/{webhook_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

namestring
urlstring uri
resourceType'model'
eventsstring[]
enabledboolean

Response

Updated webhook

idstring required
namestring required
urlstring uri required
resourceTypestring required

model for new registrations. Retired types (session, sandbox, template) can still appear on old registrations.

eventsstring[] required

Empty means all events in the resource type.

enabledboolean required
createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.