Gets the user’s IDs by social ID and platform. The method will return:
- user ID if the user has linked the main account.
- user ID if the user has linked the platform account.
xl_uid=nullif the user does not have the linked account.
Main account is the Xsolla Login project which other Xsolla Login projects (platform accounts) are linked to. Main and platform accounts are created in Publisher Account.
Method available with the server JWT in the
X-SERVER-AUTHORIZATION header only. To get the server token, use the Generate User JWT method with
List of social IDs and platforms which need user ID.
Login ID from Publisher Account.
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 Account Manager to link
Social ID and platform for which it is needed to get user ID.
User ID from your game. Used as an external ID by which users will be linked.
Name of chosen Social Provider.
User ID from Social Provider.
The Xsolla Login user ID. You can find it in Publisher Account > Login settings > Users > Username/ID.