update_account
Change the account itself: set its name, apply another account's referral code, and turn Discord billing reminders and limit alerts on or off. Each change is applied or refused on its own. Needs a recent email-code sign-in. Tier recent: the API key and X-TweetStream-Setup-Proof from an email code verified in the last 30 minutes. The MCP tool of the same name needs the tweetstream:settings scope.
POST
/api/agent/actions/update_accountAuthorization
AuthorizationstringheaderrequiredBearer authentication with your TweetStream API key:Bearer <key>.
Headers
X-TweetStream-Setup-ProofstringheaderrequiredThe setupProof returned by email verification. It lasts 30 minutes; after that, verify a new email code.
Body
changesobject[]requiredan array of at most 10 item(s)kindenum<string>requirednamestringrequiredSurrounding spaces are dropped.
Response fields
resultsobject[]requiredkindenum<string>requiredoutcomeenum<string>required
Responses
- 200Success
- 400The input does not match the action's schema (INVALID_REQUEST)
- 401Missing or invalid API key, or the setup proof is missing or expired (REVERIFY_EMAIL)
- 403The request carried a foreign Origin
- 429Rate limit reached (RATE_LIMITED); retry after retryAfterSeconds
- 503Temporarily unavailable; retry later