---
title: "Temporary set Steam access token for user (Required for online)"
method: POST
path: "/v1/user/steam-token"
tags: ["User"]
---

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

`POST /v1/user/steam-token`

## Request

- Base URL: `https://api.waxpeer.com`
- URL: `https://api.waxpeer.com/v1/user/steam-token`
- Auth: none declared

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.**

## Query parameters

- `api` string, required

## Request body

- object
  - `token` string: Steam access token in base64 format

## Response `200`

successful operation

- object
  - `success` boolean
  - `msg` '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` number, nullable: Token expiration time (is present in the response if the session has expired or has been active for less than an hour and is not accepted)

---

[API](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system.md) - [All operations](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/llms.txt) - [OpenAPI document](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/revisions/dd3dfdd641bb?raw)
