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"
}
Webhooks
Update Webhook
Update the webhook URL for your API key
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.
Updating also re-activates a webhook that was auto-paused (
status: "FAILED")
after repeated delivery failures — it resets status back to ACTIVE and
resumes delivery. See Delivery & Failure
Handling.Request Body
string
required
The new webhook URL. Must be a valid HTTPS URL.
Response
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"
}