Sync with Waxpeer session to auto-fill API key

Create a new user and obtain a unique API key or get an API key from an already created account without Steam OAuth

POST/v1/user

Create a new user and obtain a unique API key or get an API key from an already created account without Steam OAuth.

Both accounts must be unrestricted on Waxpeer.

Target account must be new on Waxpeer or have no active 2fa and enabled the collection of account information (You can enable it on the site if it is turned off).

The token will not be used as a cookie in Steam during the API key creation/get process.

Parameters

NameLocationTypeDescription
api
required
querystring

Your WAXPEER API of creator account

Request body

NameLocationTypeDescription
token
optional
bodystring

Your Steam access token from the target account.

Token should be in base64 format and belong to your target account.

Example
{
  "token": "ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2libUZ0WlNJNklrcHZhRzRnUkc5bElpd2lhV0YwSWpveE5URTJNak01TURJeWZRLlNmbEt4d1JKU01lS0tGMlFUNGZ3cE1lSmYzNlBPazZ5SlZfYWRRc3N3NWM="
}

Responses

200 successful operation **Please open the response schema if you need more information about the response parameters**

Response
{
  "success": true,
  "msg": "Need to refresh access token",
  "data": {
    "api": "1hbhbhodexkdei1axlc3ka7woibo2h16zoyidjv5wfwvqd6bty39e4086d110228",
    "isNew": true
  },
  "exp": 1712852259
}

403 Wrong or missing Waxpeer API key of creator account

Response
{
  "success": false,
  "msg": "Missing API"
}