v4

latestOpenAPI 3.1.02026-07-3196251302.5 KB
account

Create OAuth or domain connection

post/v1/account.createConnection

Request body

$schemastring uri

A URL to the JSON Schema for this object.

codestring required

The code from the oauth2 provider to verify

provider'discord' | 'patreon' | 'kick' | 'reddit' | 'twitch' | 'youtube' | 'x' | 'domain' required

The provider to connect with

Example request

{
  "$schema": "https://api.steamsets.com/schemas/V1AccountCreateConnectionRequestBody.json",
  "code": "123456",
  "provider": "discord"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

codestring required

Code that has to be used to verify domain connections

connectionIdstring nullable

Public ID of the connection only for domain connections

Example response

{
  "$schema": "https://api.steamsets.com/schemas/V1AccountCreateConnectionResponseBody.json",
  "code": "ABC123",
  "connectionId": "ABC123"
}