Free — does not consume credits
curl -X PATCH https://xquik.com/api/v1/webhooks/15 \
-H "x-api-key: xq_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"url": "https://new-server.com/webhook",
"eventTypes": ["tweet.new"],
"isActive": false
}' | jq
Path parameters
The webhook ID to update.
Your API key. This endpoint also accepts session cookie authentication.
Must be application/json.
Body
At least 1 field is required.
New HTTPS endpoint URL. HTTP URLs are rejected.
Updated event types to subscribe to. Replaces the existing list. At least 1 required when provided.
Set to false to pause deliveries or true to resume.
Response
200 OK
401 Unauthenticated
400 Invalid Input
404 Not Found
Unique webhook identifier.
The current delivery endpoint URL.
Event types this webhook is subscribed to.
Whether the webhook is currently active.
ISO 8601 creation timestamp.
{
"id": "15",
"url": "https://new-server.com/webhook",
"eventTypes": ["tweet.new"],
"isActive": false,
"createdAt": "2026-02-24T10:30:00.000Z"
}
{ "error": "unauthenticated" }
Missing or invalid API key / session cookie.{ "error": "invalid_input" }
Invalid URL (must be HTTPS), empty eventTypes, or no fields provided.{ "error": "invalid_id" }
The provided webhook ID is not a valid format.No webhook exists with this ID, or it belongs to a different account.
This endpoint supports dual authentication: API key (x-api-key header) or session cookie from the dashboard.Related: List Webhooks · Delete Webhook