Change url, events or enabled. Turning it back on clears the failure count. API keys only.

patch/v1/webhook-endpoints/{id}

Request

  • Base URL: https://api.lumeta.ai
  • URL: https://api.lumeta.ai/v1/webhook-endpoints/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The public id (gen_<n>, file_<n>, shelf_<n>, hook_<n>) or its number.

Request body

urlstring uri

https:// on port 443, resolving to a public address.

eventsstring[]

["*"] (the default) for every event.

enabledboolean

PATCH only. true also clears the failure count.

Response

OK

idstring

hook_<n>

urlstring
eventsstring[]

["*"] or a list of generation.succeeded, generation.failed.

enabledboolean

false after you switch it off, or after an event failed every retry with no success in between.

failure_countinteger

Failed attempts in a row; a 2xx resets it.

last_success_atstring nullable
last_failure_atstring nullable
disabled_atstring nullable
created_atstring

Changes

No recorded changes to this operation across all 2 revisions of this API.