Skip to main content
PATCH
/
webhooks
/
{endpoint_id}
Update webhook
curl --request PATCH \
  --url https://api.proxyjam.com/public/v1/webhooks/{endpoint_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "url": "<string>",
  "enabled": true
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.proxyjam.com/llms.txt

Use this file to discover all available pages before exploring further.

Updates an existing endpoint owned by the authenticated user.

Path parameters

endpoint_id
string
required
Webhook endpoint UUID.

Request body

url
string
New destination URL.
enabled
boolean
Enable or disable the endpoint.
At least one field should be provided.

Response

Returns the updated endpoint object.

Example

curl -X PATCH "https://api.proxyjam.com/public/v1/webhooks/wh_01HXYZ" \
  -H "X-API-Key: pj_AbCdEf..." \
  -H "Content-Type: application/json" \
  -d '{"enabled": false}'