curl --location --request GET 'https://api.spotify.com/me' \
--header 'Authorization;'
{
"country": "string",
"display_name": "string",
"email": "string",
"explicit_content": {
"filter_enabled": true,
"filter_locked": true
},
"external_urls": {
"spotify": "string"
},
"followers": {
"href": "string",
"total": 0
},
"href": "string",
"id": "string",
"images": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"product": "string",
"type": "string",
"uri": "string"
}
user-read-email
scope; reading country, product subscription level and explicit content settings requires the user-read-private
scope. See Using Scopes.