discord_community
操作账号的 Discord:用已关联的 Discord 账号加入社区服务器、检查验证状态,或发送一条测试账单提醒。需要近期通过邮箱验证码登录。recent 级:需要 API key,以及 30 分钟内验证过的邮箱验证码换来的 X-TweetStream-Setup-Proof。同名 MCP 工具需要 tweetstream:settings 权限范围。
POST
/api/agent/actions/discord_community授权
Authorizationstringheader必填使用 TweetStream API 密钥进行 Bearer 认证:Bearer <key>。
请求头
X-TweetStream-Setup-Proofstringheader必填邮箱验证返回的 setupProof,有效期 30 分钟。过期后需重新验证邮箱验证码。
请求体
kindenum<string>必填
响应字段
communityobject必填botInstalledboolean必填botInstallUrlstring必填channelReadyboolean必填communityInviteUrlstring必填linkedboolean必填membershipenum<string>必填multipleLinkedboolean必填onboardingRequiredboolean必填requiredboolean必填Whether this account is asked to join the TweetStream Discord community. Only a checkout whose status is community_required waits for it.verificationPendingboolean必填verifiedboolean必填
kindenum<string>必填outcomeenum<string>必填
响应
- 200成功
- 400输入不符合该操作的 schema(INVALID_REQUEST)
- 401API key 缺失或无效,或 setup proof 缺失或已过期(REVERIFY_EMAIL)
- 403请求带有外部 Origin
- 429已达到速率限制(RATE_LIMITED),请在 retryAfterSeconds 秒后重试
- 503暂时不可用,请稍后重试