Temporary set Steam access token for user (Required for online)
Temporarily set Steam access token for user (required to be online and list items for sale). We recommend transmitting once an hour.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API key |
Request body
| Name | Location | Type | Description |
|---|---|---|---|
tokenoptional | body | string | Steam trade link token or access token |
{
"token": "ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2libUZ0WlNJNklrcHZhRzRnUkc5bElpd2lhV0YwSWpveE5URTJNak01TURJeWZRLlNmbEt4d1JKU01lS0tGMlFUNGZ3cE1lSmYzNlBPazZ5SlZfYWRRc3N3NWM="
}Responses
200 Successful operation
| Name | Type | Description |
|---|---|---|
successoptional | boolean | Whether the operation succeeded |
msgoptional | 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 |
expoptional | number | Token expiration time |
{
"success": false,
"msg": "Need to refresh access token",
"exp": 1712852259
}