curl --request PATCH \
--url https://api.mnemom.ai/v1/orgs/{org_id}/webhooks/{endpoint_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"description": "<string>",
"event_types": [
"integrity.violation"
],
"is_active": true
}
'{
"endpoint_id": "<string>",
"billing_account_id": "<string>",
"url": "<string>",
"description": "<string>",
"event_types": [
"<string>"
],
"is_active": true,
"consecutive_failures": 123,
"disabled_at": "2023-11-07T05:31:56Z",
"disabled_reason": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Update an existing webhook endpoint. Re-enabling a disabled endpoint resets the failure counter.
curl --request PATCH \
--url https://api.mnemom.ai/v1/orgs/{org_id}/webhooks/{endpoint_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"description": "<string>",
"event_types": [
"integrity.violation"
],
"is_active": true
}
'{
"endpoint_id": "<string>",
"billing_account_id": "<string>",
"url": "<string>",
"description": "<string>",
"event_types": [
"<string>"
],
"is_active": true,
"consecutive_failures": 123,
"disabled_at": "2023-11-07T05:31:56Z",
"disabled_reason": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Supabase JWT token in Authorization: Bearer header
Organization identifier (e.g. org-abc12345)
Webhook endpoint identifier (e.g. whe-abc12345)
New HTTPS URL
integrity.violation, integrity.checkpoint, drift.detected, drift.resolved, conscience.escalation, quota.warning, quota.exceeded, subscription.status_changed Set to true to re-enable a disabled endpoint (resets failure counter)
Updated endpoint
Webhook endpoint without signing secret (used in list and get responses)