webhooks

Update Endpoint

Update a webhook endpoint. Disabling one needs no plan; anything else does.

patch/api/v1/webhooks/{endpoint_id}

Request

  • Base URL: https://legalize.dev (the document declares no server; this is the origin it was published from)
  • URL: https://legalize.dev/api/v1/webhooks/{endpoint_id}
  • Auth: API key in header Authorization

Path parameters

endpoint_idinteger required

Request body

urlstring nullable
event_typesstring[] nullable
countriesstring[] nullable
law_idsstring[] nullable
match_querystring nullable
descriptionstring nullable
enabledboolean nullable

Response

Successful Response

unknown required

Changes

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