Metadata
Changed onReturns the user object, which is used to identify via websocket, as well as socket token (authorizationToken) & socket signature (signature) which are used to authenticate on the websocket.
Request
- Base URLhttps://csgoempire.com/api/v2
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"user": {
"id": 12345678,
"steam_name": "example_user",
"avatar": "https://avatars.steamstatic.com/0123456789abcdef0123456789abcdef01234567_full.jpg",
"default_balance_type": 1,
"registration_timestamp": "2024-01-01T00:00:00.000000Z",
"registration_ip": "2001:db8::1",
"last_login": "2024-01-01 00:00:00",
"withdraw_limit": 99999999,
"country": "USA",
"withdrawal_fee_owed": "0.0000",
"public_uuid": "QTBKDDQ",
"tos_version": "11-20240924",
"risk_factor": "1.0000",
"extra_cred": {
"user_id": 12345678,
"credential_type": 2,
"value": "eyJpdiI6Ik1ERXlNelExTmpjNE9XRmlZMlJsWmc9PSIsInZhbHVlIjoiYlc5amF5MWxibU55ZVhCMFpXUXRZM0psWkdWdWRHbGhiQzEyWVd4MVpTRT0iLCJtYWMiOiIwMTIzNDU2Nzg5YWJjZGVmMDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWYwMTIzNDU2Nzg5YWJjZGVmIiwidGFnIjoiIn0=",
"created_at": "2024-01-01 00:00:00",
"updated_at": "2024-01-01 00:00:00",
"reminded_at": "2021-01-01 00:00:00"
},
"levels_data": {
"user_id": 12345678,
"created_at": "2024-01-01 00:00:00",
"updated_at": "2024-01-01 00:00:00"
},
"steam_id": "76561199123456789",
"user_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"eligible_for_free_case": true,
"extra_security_type": "2fa",
"p2p_filter_delivery_time_enabled": true,
"steam_inventory_url": "https://steamcommunity.com/profiles/76561199123456789/inventory/#730",
"instant_deposit_enabled": true,
"api_token": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90"
},
"socket_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDAwMDAwMDAsImV4cCI6MTcwMDAwMDAzMCwic3ViIjoxMjM0NTY3OCwiYXVkIjoiY3Nnb2VtcGlyZSIsImp0aSI6IkV4YW1wbGVKdGlWYWx1ZTEyMzQ1Njc4OTBhYmNkZWZFeGFtcGxlSnRpMDEyIn0.c2lnbmF0dXJlLW1vY2stZXhhbXBsZS1ub3QtcmVhbA",
"socket_signature": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90"
}Changes
- breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromintegerto no type for status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromstringto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the
response's property default value0was removed for the status
- breaking