Skip to main content
POST
/
user
/
settings
/
tradeurls
Add trade URL
curl --request POST \
  --url https://api.skinshark.gg/user/settings/tradeurls \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "url": "<string>"
}
'
{
  "requestId": "<string>",
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "url": "<string>",
    "steamId": "<string>",
    "personaName": "<string>",
    "avatarUrl": "<string>",
    "profileUrl": "<string>",
    "isPrimary": true,
    "createdAt": "<string>"
  },
  "error": {
    "code": 1500,
    "key": "INSUFFICIENT_BALANCE",
    "message": "Insufficient balance"
  }
}

Authorizations

api-key
string
header
required

Your raw API key. Generate, rotate, and revoke keys from the merchant dashboard. Keys can optionally be bound to one or more allowed source IPs — requests from any other IP are rejected with API_KEY_IP_DENIED.

Headers

On-Behalf-Of
string

Sub-user UUID or the merchant's externalId for that sub-user. Required for sub-user-context routes; rejected (via requireMerchant) on merchant-context routes.

Required string length: 1 - 128

Body

application/json
url
string
required

Full Steam trade-offer URL (with partner= and token=).

Pattern: ^https:\/\/(www\.)?steamcommunity\.com\/tradeoffer\/new\/?

Response

Created.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object