GraphQL API: Profile
Get listener profile data
You can get profile information of a listener including who they follow and their followers.
Request
{
profile {
id
fullname
displayName
bio
imageUrl
private
followers {
items {
fullname
}
}
following {
items {
fullname
isBeingFollowed
}
}
}
}
* Add your OAuth bearer token to the Authorization
header
curl 'https://ce.pandora.com/api/v1/graphql/graphql' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{"operationName":null,"variables":{},"query":"{ profile { id fullname displayName bio imageUrl private followers { items { fullname } } following { items { fullname isBeingFollowed } } }}"}'
Response
{
"data": {
"profile": {
"id": "LI:1375438868",
"fullname": null,
"displayName": "listener_99",
"bio": "This is a bio",
"imageUrl": "https://www.pandora.com//static/user/default_images/user_default_z_500x500.png",
"private": false,
"followers": {
"items": []
},
"following": {
"items": [
{
"fullname": "listener_22",
"isBeingFollowed": true
}
]
}
}
}
}