Webhooks

Update a webhook endpoint

status accepts enabled or disabled only — auto_disabled is set by the delivery queue, and re-enabling clears its reason.

Requires the webhooks:write scope. Accepts all three lanes: a session JWT (bounded by the caller's role on this workspace) or an il_* machine credential whose own scope set, workspace set and validity window cover it — both ceilings apply and neither can raise the other, so a credential carrying webhooks:write is still refused where the role does not permit it.

A credential with no scope record resolves to LEGACY_DEFAULT, which does NOT include webhooks:write — mint a key with it explicitly (POST /v2/workspaces/{id}/keys).

patch/v2/workspaces/{id}/webhooks/{whkId}

Request

  • Base URL: https://api.infolang.ai
  • URL: https://api.infolang.ai/v2/workspaces/{id}/webhooks/{whkId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required
whkIdstring required

Request body

urlstring uri
enabled_eventsstring[]
include_contentboolean
include_ingest_memoriesboolean
coord_event_kindsstring[]
descriptionstring
status'enabled' | 'disabled'

Response

The updated endpoint

webhook_idstring required
workspace_idstring required
urlstring required
enabled_eventsstring[] required
status'enabled' | 'disabled' | 'auto_disabled' required
include_contentboolean required
include_ingest_memoriesboolean required
coord_event_kindsstring[]
coord_cursorstring
descriptionstring
auto_disabled_reasonstring
createdstring required
updatedstring required
secretstring
previous_secret_expires_atstring

Changes

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