Skip to main content
PATCH
Enable or disable the billable X background work (analytics, inbox sync). Both are off by default: X charges per call, so nothing polls until you say so.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
analytics
boolean

Allow analytics reads on this X account. X charges $0.005 per post read and $0.010 per user read.

inboxSync
boolean

Allow background inbox polling on this X account. X charges $0.010 per DM read.

acknowledgeCost
boolean

Required to turn either switch ON: confirms the caller has seen what X charges and accepts that these calls are re-billed at cost. Refused without it. Turning a switch OFF never needs it.

Response

200 - undefined