Skip to main content
GET
/
user
Get sub-user profile
curl --request GET \
  --url https://api.skinshark.gg/user \
  --header 'api-key: <api-key>'
{
  "requestId": "<string>",
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "emailVerified": true,
    "country": "<string>",
    "roles": [],
    "twoFactorEnabled": true,
    "steam": {
      "steamId": "<string>",
      "personaName": "<string>",
      "avatarUrl": "<string>",
      "profileUrl": "<string>",
      "tradeUrl": "<string>"
    },
    "discord": {
      "discordId": "<string>",
      "username": "<string>",
      "avatar": "<string>"
    },
    "wallet": {
      "balance": 1
    },
    "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

Response

OK.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object