Skip to docs content
Browse and search
On this page

discord_community

Act on the account's Discord: join the community server with the linked Discord account, check verification, or send a test billing reminder. 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/discord_community

Authorization

  • 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

  • kindenum<string>required

Response fields

  • communityobjectrequired
    • botInstalledbooleanrequired
    • botInstallUrlstringrequired
    • channelReadybooleanrequired
    • communityInviteUrlstringrequired
    • linkedbooleanrequired
    • membershipenum<string>required
    • multipleLinkedbooleanrequired
    • onboardingRequiredbooleanrequired
    • requiredbooleanrequiredWhether this account is asked to join the TweetStream Discord community. Only a checkout whose status is community_required waits for it.
    • verificationPendingbooleanrequired
    • verifiedbooleanrequired
  • kindenum<string>required
  • outcomeenum<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