GetXAPI
Monitoring

Remove Monitor

Stop watching an X/Twitter account and free the plan slot it was using. Removed monitors can be re-added later and will re-baseline from the newest tweet.

POST/twitter/monitor/remove

Stop watching an account and free the plan slot it occupied.

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer YOUR_API_KEY, the same key used for every other GetXAPI endpoint
Content-TypestringYesapplication/json

Request Body

FieldTypeRequiredDescription
monitor_idstringYesUUID of the monitor to remove

Notes

  • This is the only way to free a plan slot. Pausing keeps the slot.
  • Removing does not delete the webhook. It stays registered and can serve other monitors.
  • You can re-add the same account later with Add monitor. The response will show reactivated: true, and it re-baselines from the account's newest tweet at that moment, so nothing from the gap is replayed.
  • Deliveries already queued or mid-retry when you remove a monitor may still arrive. Your handler should tolerate a delivery for a monitor you just removed.

Removing every monitor attached to a webhook also unblocks deleting that webhook, which otherwise returns 409 WEBHOOK_IN_USE.

Response (200)

{ "status": "removed", "monitor_id": "b7e2c910-4f38-4a5d-9c81-2e6a7f0d3b45" }

Rate limit

30 requests per minute.

Limits use a fixed 60-second window and are shared across every API key on your account, so creating extra keys does not raise the ceiling. Every response carries RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset; a 429 adds Retry-After. See rate limits for the full table.

Errors

StatusMeaning
400monitor_id missing or not a valid UUID
403Monitoring is not enabled for this account
404No monitor with that ID on your account
429Rate limit exceeded. Wait retry_after seconds, then retry

Example

curl -X POST https://api.getxapi.com/twitter/monitor/remove \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "monitor_id": "b7e2c910-4f38-4a5d-9c81-2e6a7f0d3b45" }'

On this page