Skip to main content
curl -X PATCH https://xquik.com/api/v1/webhooks/15 \
  -H "x-api-key: xq_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://new-server.com/webhook",
    "eventTypes": ["tweet.new"],
    "isActive": false
  }' | jq

Path Parameters

id
string
required
The webhook ID to update.

Headers

x-api-key
string
required
Your API key. This endpoint also accepts session cookie authentication.
Content-Type
string
required
Must be application/json.

Body

At least 1 field is required.
url
string
New HTTPS endpoint URL. HTTP URLs are rejected.
eventTypes
string[]
Updated event types to subscribe to. Replaces the existing list. At least 1 required when provided.
isActive
boolean
Set to false to pause deliveries or true to resume.

Response

id
string
Unique webhook identifier.
url
string
The current delivery endpoint URL.
eventTypes
string[]
Event types this webhook is subscribed to.
isActive
boolean
Whether the webhook is currently active.
createdAt
string
ISO 8601 creation timestamp.
{
  "id": "15",
  "url": "https://new-server.com/webhook",
  "eventTypes": ["tweet.new"],
  "isActive": false,
  "createdAt": "2026-02-24T10:30:00.000Z"
}
This endpoint supports dual authentication — either API key (x-api-key header) or session cookie from the dashboard.Related: List Webhooks · Delete Webhook