get_billing_portal_link
A link to the billing portal, where the person manages their card and invoices. 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:billing scope.
POST
/api/agent/actions/get_billing_portal_linkAuthorization
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
json
{}Response fields
outcomeenum<string>requiredurlstringrequired
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