Admin API / Mutations

connectTwitterAccount

Link the caller's Twitter account by redeeming a one-time OAuth 2.0 PKCE code, and subscribe it to its live-broadcast chat so magic comments on Twitter reach District.

Requires a client key with one of these scopes: admin:social:writeRequires this member role or higher: SELLER
connectTwitterAccount(
  input: ConnectTwitterAccountInput!
): ConnectTwitterAccountPayload!

Arguments

ArgumentTypeDescription
inputConnectTwitterAccountInput!The code to redeem and the PKCE values that obtained it.

Return type

ConnectTwitterAccountPayload!