SteamSets
ApiAccount

Connect

POST
/account.v1.AccountService/Connect
/account.v1.AccountService/Connect

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

code
Required
string

The code from the oauth2 provider to verify

provider
Required
string

The provider to connect with

Value in: "discord" | "patreon" | "kick" | "reddit" | "twitch" | "youtube" | "x" | "domain"
curl -X POST "https://api.steamsets.com/account.v1.AccountService/Connect" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "123456",
    "provider": "discord"
  }'

OK

{
  "code": "ABC123",
  "publicId": "ABC123"
}