Skip to main content
PATCH
/
webhook
curl -X PATCH https://scrape.st/webhook \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-domain.com/new-webhook"
  }'
{
  "message": "Webhook updated successfully"
}
Update the webhook URL associated with your API key. You must have already created a webhook before updating it.
Returns a 404 error if no existing webhook is found for your API key. Use the Create Webhook endpoint first.

Request Body

url
string
required
The new webhook URL. Must be a valid HTTPS URL.

Response

message
string
Status message confirming the update.
curl -X PATCH https://scrape.st/webhook \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-domain.com/new-webhook"
  }'
{
  "message": "Webhook updated successfully"
}