Sync with Waxpeer session to auto-fill API key

Temporary set Steam access token for user (Required for online)

POST/v1/user/steam-token

Temporarily set Steam access token for user (required to be online and list items for sale). We recommend transmitting once an hour.

Parameters

NameLocationTypeDescription
api
required
querystring

Request body

NameLocationTypeDescription
token
optional
bodystring

Steam trade link token or access token

Example
{
  "token": "ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2libUZ0WlNJNklrcHZhRzRnUkc5bElpd2lhV0YwSWpveE5URTJNak01TURJeWZRLlNmbEt4d1JKU01lS0tGMlFUNGZ3cE1lSmYzNlBPazZ5SlZfYWRRc3N3NWM="
}

Responses

200 Successful operation

NameTypeDescription
success
optional
boolean

Whether the operation succeeded

msg
optional
enum

Reason message when success is false

enum: missing_token, wrong_api, Wrong token, Token set, Invalid JWT: The token must consist of three parts., You have disabled the collection of account information, please enable it on the website, Need to refresh access token

exp
optional
number

Token expiration time

Response
{
  "success": false,
  "msg": "Need to refresh access token",
  "exp": 1712852259
}