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 Name | Type | Location | Description | Example |
---|---|---|---|---|
openid | string | uri | Third-party user identifier used during user creation, used to identify users from the third-party application/platform | c12ba6e8606d11eba20cf64d5fc81bbe |
Response Parameters
Parameter Name | Type | Description | Example |
---|---|---|---|
user_id | integer(uint64) | Survey system user ID | 60000208205 |
respondent_id | integer(uint64) | Respondent ID in the survey system, corresponds to the "qq" field in response details | 60000683396 |
Response Example
{
"code": "OK",
"error": {
"type": ""
},
"data": {
"user_id": 60000208205,
"respondent_id": 60000683396
},
"request_id": "d84e884b-3bc5-419d-9cc0-d6d6d14e68b6"
}
Error Codes
error.type Code | Description |
---|---|
user_not_found | User Not Found |