mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
65fd3621dc
- Created 111 MDX documentation files - Added 89 API endpoint pages across 14 categories - Included 11 concept guides and 7 tutorials - Configured Mintlify with Spotify branding (#1DB954) - All pages validated successfully
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
---
|
|
title: "Get Current User's Profile"
|
|
description: "Get detailed profile information about the current user"
|
|
api: "GET https://api.spotify.com/v1/me"
|
|
---
|
|
|
|
# Get Current User's Profile
|
|
|
|
Get detailed profile information about the current user
|
|
|
|
<Note>
|
|
This endpoint requires user authentication with the following scope(s): `user-read-private user-read-email`
|
|
</Note>
|
|
|
|
|
|
## Endpoint
|
|
|
|
```
|
|
GET https://api.spotify.com/v1/me
|
|
```
|
|
|
|
## Request
|
|
|
|
### Headers
|
|
|
|
<ParamField header="Authorization" type="string" required>
|
|
Bearer token for authentication: `Bearer {access_token}`
|
|
</ParamField>
|
|
|
|
## Example request
|
|
|
|
```bash
|
|
curl -X GET "https://api.spotify.com/v1/me" \
|
|
-H "Authorization: Bearer {access_token}"
|
|
```
|
|
|
|
## Response
|
|
|
|
Returns JSON with the requested data.
|
|
|
|
### Example response
|
|
|
|
```json
|
|
{
|
|
// Response data
|
|
}
|
|
```
|
|
|
|
## Related endpoints
|
|
|
|
<CardGroup cols={2}>
|
|
<Card title="API Reference" href="/api-reference/overview">
|
|
View all endpoints
|
|
</Card>
|
|
<Card title="Authentication" href="/getting-started/authentication-flows">
|
|
Learn about authentication
|
|
</Card>
|
|
</CardGroup>
|