Skip to main content

Get Third-Party Account Information

Important Note

This feature is available in the Business plan. If you haven't upgraded yet, please upgrade before using this feature.

API Overview

  • Function: Get the corresponding user information in the survey system for a third-party user
  • Request Method: GET
  • Request URL: /api/sso/users/{openid}?appid={appid}&access_token={access_token}

Request Parameters

Parameter NameTypeLocationDescriptionExample
openidstringuriThird-party user identifier used during user creation, used to identify users from the third-party application/platformc12ba6e8606d11eba20cf64d5fc81bbe

Response Parameters

Parameter NameTypeDescriptionExample
user_idinteger(uint64)Survey system user ID60000208205
respondent_idinteger(uint64)Respondent ID in the survey system, corresponds to the "qq" field in response details60000683396

Response Example

{
"code": "OK",
"error": {
"type": ""
},
"data": {
"user_id": 60000208205,
"respondent_id": 60000683396
},
"request_id": "d84e884b-3bc5-419d-9cc0-d6d6d14e68b6"
}

Error Codes

error.type CodeDescription
user_not_foundUser Not Found