cURL
curl --request POST \ --url https://api.steamsets.com/v1/account.createConnection \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "code": "<string>", "provider": "discord" } '
{ "code": "<string>", "$schema": "<string>", "connectionId": "<string>" }
Create a new OAuth connection to an external provider (Discord, Patreon, etc.) for the authenticated user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The code from the oauth2 provider to verify
The provider to connect with
discord
patreon
kick
reddit
twitch
youtube
x
domain
OK
Code that has to be used to verify domain connections
A URL to the JSON Schema for this object.
Public ID of the connection only for domain connections