Xsolla-logo

Get user’s IDs by social ID and platformServer-side

post/users/linking_info

The call will return:

  • user ID if the user has linked the main account.
  • user ID if the user has linked the platform account.
  • xl_uid=null if the user does not have a linked account.
SecurityServer
Request
Request Body schema: application/json
required
Array of objects <= 50 items

Social ID and platform for which it is needed to get user ID.

Array (<= 50 items)
user_id
required
string

User ID from Social Provider.

platform
required
string

Name of chosen Social Provider. Can be steam, xbox, epicgames.

project_id
string <uuid>

Login ID from Publisher Account.

publisher_project_id
integer

Project ID from Publisher Account which you make a request for.

If you specify it, but do not specify project_id parameter, service will be found linked to its project_id. Contact your Customer Success Manager to link project_id to publisher_project_id.

Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

429

Too Many Requests

Request samples
application/json
{
  • "publisher_project_id": 12423354,
  • "users": [
    ]
}
Response samples
application/json
[
  • {
    }
]