Kalpana Docs
Resources

Change an endpoint

Edit a webhook endpoint, or turn it on or off.

PATCH /api/webhooks/{id}

Requires webhooks:update. Turning an endpoint on also needs an active subscription.

Send only the fields to change.

NameTypeRequiredDescription
workspacestringYesWorkspace slug or id.
namestringNo1 to 100 characters.
descriptionstringNoUp to 500 characters, or null to clear it.
urlstringNoA new URL, with the same rules as Add an endpoint.
eventsstring[]No1 to 20 event types, or ["*"]. Replaces the list.
filtersobjectNo{ "templateIds": [...] }, up to 50 template ids. Send {} to remove the filter.
formatstringNojson, slack, discord or google_chat.
authHeaderobjectNo{ "name": "...", "value": "..." }, or null to remove it. Omit to keep it.
enabledbooleanNofalse turns the endpoint off. true turns it back on and clears its failure history.
curl --request PATCH "https://app.kalpana.one/api/webhooks/0192f8a4-6c1e-7c3a-9b0e-4d2f1a7e5c11" \
  --header "x-api-key: $KALPANA_API_KEY" \
  --header "content-type: application/json" \
  --data '{"workspace":"acme","enabled":false}'

Response

The updated endpoint object.

{
  "id": "0192f8a4-6c1e-7c3a-9b0e-4d2f1a7e5c11",
  "name": "Zapier: new creatives",
  "description": null,
  "url": "https://hooks.zapier.com/hooks/catch/123/abc/",
  "events": ["batch.completed"],
  "filters": {},
  "format": "json",
  "apiVersion": "2026-10-20",
  "authHeaderName": null,
  "source": "api",
  "enabled": false,
  "disabledAt": "2026-10-21T08:15:00.000Z",
  "disabledReason": "Turned off by a workspace member",
  "health": { "consecutiveFailures": 0, "failingSince": null },
  "createdAt": "2026-10-20T09:41:07.512Z",
  "updatedAt": "2026-10-21T08:15:00.000Z"
}

Changing the auth header keeps the signing secret. source and apiVersion cannot be changed.

Errors

StatusCause
400A field is not valid, such as an unknown event type or a URL that is not public https.
402enabled is true on an endpoint that was off, and the organization has no active subscription.
403Your role or key lacks webhooks:update.
404The endpoint is not in this workspace.
409Another endpoint already sends to the new url.
Was this page helpful?

Updated 4 Nov 2026

On this page