Skip to main content

Set Trade URL

POST /user/setTradeUrl

Updates the user’s Steam trade URL. The URL is validated against the user’s Steam ID to ensure it belongs to them.
POST /user/setTradeUrl
Authentication: connected Body Parameters
tradeurl
string
required
Full Steam trade URL. Must start with https://steamcommunity.com and contain the correct partner parameter matching the user’s Steam ID.
Validation Rules
  • Must be a valid URL format
  • Must start with https://steamcommunity.com
  • The partner query parameter must match the user’s Steam3 ID
  • Must contain a valid token query parameter
Response
{
  "status": "success",
  "data": "Trade URL updated successfully"
}
Errors
StatusMessage
errorMissing or empty tradeurl parameter
errorInvalid trade URL format
errorInvalid Steam ID
errorFailed to update trade URL

Update Short URL

POST /user/updateShortUrl

Updates the user’s custom short profile URL. Must be unique across all users.
POST /user/updateShortUrl
Authentication: connected Body Parameters
shorturl
string
required
The desired short URL. 1–12 characters, lowercase letters and numbers only.
Validation Rules
  • 1 to 12 characters
  • Only lowercase letters (a-z) and numbers (0-9)
  • Must be unique (not already taken by another user)
Response
{
  "status": "success",
  "data": "Short URL updated successfully"
}
Errors
StatusMessage
errorMissing or empty shorturl parameter
errorInvalid short URL format. Must be 1-12 characters, only lowercase letters and numbers allowed
errorShort URL already exists for another user

Set Privacy Setting

POST /user/setPrivacySetting

Updates the user’s profile privacy setting (public or private).
POST /user/setPrivacySetting
Authentication: connected Body Parameters
privacy
string
required
"1" for private, "0" for public.
Response
{
  "status": "success",
  "data": "updated"
}

Set Mail Notification Email

POST /user/setMailNotification

Sets or updates the email address used for notifications.
POST /user/setMailNotification
Authentication: connected Body Parameters
email
string
required
A valid email address to receive notifications.
Response
{
  "status": "success",
  "data": "updated"
}
Errors
StatusMessage
errormissing fields
errorinvalid email

Set Mail Notification Status

POST /user/setMailNotificationStatus

Enables or disables email notifications.
POST /user/setMailNotificationStatus
Authentication: connected Body Parameters
notification
string
required
"1" to enable, "0" to disable.
Response
{
  "status": "success",
  "data": "updated"
}