Get User's Profile
Get public profile information about a Boomplay user.
Request
GET /user/getUserInfo
Parameter
HEADER PARAMETER | VALUE |
---|---|
Content-Type | Required Set to application/json |
Accept-Language | Such as zh-CN,en-US... default en |
app_id | Required The app ID provided to you by Boomplay when you register your application. |
Authorization | Required Access Token (The access token from ImplicitGrant or RefreshToken ) |
Responses Body
Body
code (integer) required
desc (string)
data (object)user_id (String) The Boomplay ID for the user.
user_name (string) The Boomplay name for the user.
region (string) countryCode for the user.
plan (string) Subscription status for the user.
avatar objectwidth (integer) image width
height (integer) image height
url (string) cover
Request Sample
GET /user/getUserInfo
Authorization: ${authorization}
app_id: ${app_id}
Host: openapi.boomplay.com
Response Example
{
"desc": null,
"code": 0,
"data": {
"user_id": "VjNi+G9VQh7vVft6l6o/kw==",
"user_name": "kk8qc",
"avatar": {
"width": 200,
"height": 200,
"url": "https://testsource.boomplaymusic.com/test_group10/M00/04/14/6f1e08abd0844722b48a9e92a53a1364_200_200.jpg"
},
"region": "NG",
"plan": "Free"
}
}