Skip to main content
PATCH
/
monitors
/
{id}
Update monitor
curl --request PATCH \
  --url https://xquik.com/api/v1/monitors/{id} \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "eventTypes": [
    "<string>"
  ],
  "isActive": true
}
'
Free — does not consume credits
curl -X PATCH https://xquik.com/api/v1/monitors/7 \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "eventTypes": ["tweet.new", "tweet.quote", "tweet.reply", "tweet.retweet"],
    "isActive": true
  }' | jq

Path parameters

id
string
required
The unique monitor ID.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Body

At least 1 field is required.
eventTypes
string[]
Updated array of event types. Must contain at least 1 valid type: tweet.new, tweet.quote, tweet.reply, tweet.retweet, follower.gained, follower.lost.
isActive
boolean
Set to false to pause monitoring, or true to resume. Toggling this automatically registers or unregisters the account with the real-time stream.

Response

id
string
Unique monitor ID.
username
string
Normalized X username.
xUserId
string
Resolved X user ID.
eventTypes
string[]
Updated event types.
isActive
boolean
Current active status after update.
createdAt
string
ISO 8601 creation timestamp.
{
  "id": "7",
  "username": "elonmusk",
  "xUserId": "44196397",
  "eventTypes": ["tweet.new", "tweet.quote", "tweet.reply", "tweet.retweet"],
  "isActive": true,
  "createdAt": "2026-02-24T10:30:00.000Z"
}
Toggling isActive automatically registers or unregisters the X account with the real-time stream. When paused (isActive: false), no events are captured and no webhook deliveries are sent for this monitor.
Related: Get Monitor to verify the updated state, or Delete Monitor to remove the monitor entirely.