Sync with Waxpeer session to auto-fill API key

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

POST/v1/user/steam-token

Due to the steam update, it became mandatory to pass regularly (we recommend sending once an hour and keep 6 hours from the time we receive it) to be online and sell on the marketplace.

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

It is recommended to transmit it once an hour to maintain validity, as well as in case of refreshing

If the "success" parameter in the response is false, you will not get online and most likely you need to update the token and send a new one

The token will not be used as a cookie in Steam outside of your client.

Parameters

NameLocationTypeDescription
api
required
querystring

Request body

NameLocationTypeDescription
token
optional
bodystring

Steam access token in base64 format

Example
{
  "token": "ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2libUZ0WlNJNklrcHZhRzRnUkc5bElpd2lhV0YwSWpveE5URTJNak01TURJeWZRLlNmbEt4d1JKU01lS0tGMlFUNGZ3cE1lSmYzNlBPazZ5SlZfYWRRc3N3NWM="
}

Responses

200 successful operation

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