---
title: "Update account settings (tradelink, access token, proxy, steam API, and webhook)"
method: POST
path: "/v1/update-account"
tags: ["User"]
---

# Update account settings (tradelink, access token, proxy, steam API, and webhook)

`POST /v1/update-account`

## Request

- Base URL: `https://api.waxpeer.com`
- URL: `https://api.waxpeer.com/v1/update-account`
- Auth: none declared

Unified endpoint to update multiple account settings in one request. This is useful for partners who need to manage accounts that are waiting for trade verification and balance unfreezing without keeping socket connections open. At least one field must be provided.

## Query parameters

- `api` string, required

## Request body

- object
  - `tradelink` string: Steam trade URL
  - `access_token` string: Steam access token in base64 format
  - `refresh_token` string: Steam refresh token in base64 format (optional, used with access_token)
  - `proxy` string, nullable: Proxy server for Steam API requests. Format: username:password@host:port. Pass empty string to clear.
  - `steam_api` string: Steam API key (32 characters). Get it from https://steamcommunity.com/dev/apikey
  - `webhook` string, nullable: Webhook URL for notifications. Must be a valid HTTP/HTTPS URL. Pass empty string to clear.
  - `reset_api` boolean: When true, revokes the current API key (sets it to null). A new key is issued on the next Steam-token authentication.

## Response `200`

successful operation

- object
  - `success` boolean
  - `tradelink_updated` boolean: Indicates if tradelink was successfully updated
  - `access_token_updated` boolean: Indicates if access token was successfully updated
  - `proxy_updated` boolean: Indicates if proxy was successfully updated
  - `steam_api_updated` boolean: Indicates if steam API key was successfully updated
  - `steam_api_msg` string, nullable: Additional message about steam API update (e.g., 'same_api' if key unchanged)
  - `webhook_updated` boolean: Indicates if webhook was successfully updated
  - `webhook_msg` string, nullable: Additional message about webhook update (e.g., 'same_value' if webhook unchanged)
  - `api_reset` boolean: Indicates the API key was revoked (set to null)
  - `msg` string, nullable: Error message if success is false

## Other responses

- `400`: Bad request - no fields provided

---

[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)
