Webhook Notifications

Update webhook endpoint

Update an existing webhook endpoint. Re-enabling a disabled endpoint resets the failure counter. Authorization: the caller must be an owner/admin of org_id, and endpoint_id is matched against that org's billing account before the update, so an endpoint owned by another org returns 404 and never another tenant's data. Outbound URL rules: the URL must be https and must point at a publicly reachable host. Credentials in the URL, single-label or internal host names (localhost, *.local, *.internal, *.home.arpa), and hosts that are or resolve to loopback, private (RFC1918), link-local (including cloud metadata), CGNAT, IPv6 unique-local/link-local, or other non-public addresses are rejected with 400. The host is resolved and re-checked again before every delivery and every redirect hop.

patch/orgs/{org_id}/webhooks/{endpoint_id}

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/orgs/{org_id}/webhooks/{endpoint_id}
  • Auth: HTTP bearer

Path parameters

org_idstring required

Organization identifier (e.g. org-abc12345)

endpoint_idstring required

Webhook endpoint identifier (e.g. whe-abc12345)

Request body

urlstring uri

New HTTPS URL

descriptionstring

Optional human-readable label for the endpoint, shown in the operator console.

event_typesstring[]

Replacement set of event types this endpoint subscribes to; replaces the prior subscription in full.

is_activeboolean

Set to true to re-enable a disabled endpoint (resets failure counter)

Response

Updated endpoint

endpoint_idstring
billing_account_idstring
urlstring uri
descriptionstring
event_typesstring[]
is_activeboolean
consecutive_failuresinteger
disabled_atstring date-time nullable
disabled_reasonstring nullable
created_atstring date-time
updated_atstring date-time

Changes

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