Skip to main content
PUT
/
webhooks
/
{id}
Update webhook
curl --request PUT \
  --url https://api.surefeedback.com/api/v1/webhooks/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "url": "<string>",
  "events": [
    {}
  ],
  "is_active": true
}
'
{
  "success": true,
  "data": {
    "id": "dd0e8400-e29b-41d4-a716-446655440008",
    "is_active": false
  }
}
Updates the configuration of an existing webhook.

Path parameters

id
string
required
UUID of the webhook.

Request body

url
string
New endpoint URL.
events
array
Updated event subscriptions.
is_active
boolean
Enable or disable the webhook.
{
  "success": true,
  "data": {
    "id": "dd0e8400-e29b-41d4-a716-446655440008",
    "is_active": false
  }
}