User

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

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.

post/v1/user

Request

  • Base URL
    https://api.waxpeer.com
  • Auth
    none declared

Query parameters

apistring required

Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a> of creator account

Request body

tokenstring

Your Steam access token from the target account.

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

Example request

{
  "token": "<base64 of your Steam access token>"
}

Response

successful operation

Please open the response schema if you need more information about the response parameters

successboolean
msg'Missing API' | 'wrong api' | 'You are banned, please contact support' | 'missing_token' | 'Token must be base64 encoded' | 'You have restrictions on your account' | 'You have restrictions on your target account' | 'You can not use your own token' | 'Wrong token' | 'Please disable 2FA on the site first' | 'You have disabled the collection of account information, please enable it on the website' | 'Please try again later' | 'Need to refresh access token' nullable

Error message if success is false

expnumber nullable

Token expiration time (is present in the response if the session has expired or has been active for less than an minute and is not accepted)

Example response

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

Changes

No recorded changes to this operation across all 4 revisions of this API.