Verify idp_user_id which is the response result of Web Login Verification V2 API and returns the PlayerID of this IdP ID. You can get the PlayerID after a user signs in with Web Login V2 API.

  • Request URL
    Commercial Server URL https://auth.qpyou.cn/server/player/get-idp-playerid
    Distributed Environment URL https://auth.globalwithhive.com/server/player/get-idp-playerid
    Sandbox URL https://sandbox-auth.qpyou.cn/server/player/get-idp-playerid
    HTTP Method Post
    Content-Type application/json
    Data Format JSON
  • Request Header
    Field Name Description Type Required
    ISCRYPT Encrypted data, 0=Not encrypted Integer Y
  • Request Body
    Field Name Description Type Required
    appid the AppID of the game a user is logged into String Y
    idp_user_id Account Token (uid) passed from IdP String Y
    idp_index
      idp_index

    • 1: HIVE
    • 2: Facebook
    • 3: GOOGLE
    • 9: APPLE
    String Y
  • Request Body Example
  • Response Body
    Field Name Description Type
    result_code verification result, 0: success, 4000: the parameter value is invalid Integer
    result_msg the result message String
    data the result data JSON
  • Response Bodydata
    Field Name Description Type
    data.list the result data list Array
    data.list.player_id the PlayerID of the idp_user_id String
    data.list.idp_user_id the idp_user_id you provided in the request body String
    data.list.idp_index the idp_index you provided in the request body String
  • Response Body Sample