User
Get Current User
Cards
Collections
Friends
Api Keys
Members
Profiles
Review
Share
User
- PATCHSet Preferences
- PUTSet Preference Flag
- PUTSet Feature Preview Flag
- GETGet User Email Addresses
- GETGet Email
- DELDelete Email
- PUTMake Email Primary
- GETCheck Auth
- GETCheck If Fresh Access Token
- GETGet Current User
- PUTUpdate Current User
- PUTUpdate Current User Bio And Pic
- GETGet Pins
- PUTUpdate Pins
User
Get Current User
Get the authenticated user’s information, including subscription details
GET
/
v1
/
user
curl --request GET \
--url https://api.supernotes.app/v1/user \
--header 'Api-Key: <api-key>'
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"username": "<string>",
"referral_code": "<string>",
"bio": "<string>",
"photo": "<string>",
"kind": 0,
"prefs": {
"indent_type": 0,
"sort_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0
},
"pref_flags": 123,
"feature_preview_flags": 123,
"pins": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"status": -2,
"access_level": -1
},
"subscription": {
"type": 1,
"started_when": "2023-11-07T05:31:56Z",
"expires_when": "2023-11-07T05:31:56Z",
"will_renew": true,
"source": "stripe",
"stripe_subscription_id": "<string>"
},
"quota": 123,
"intercom_hash": "<string>"
}
Authorizations
Response
200 - application/json
Successful Response
Available options:
0
, 1
, 2
Available options:
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
Available options:
-1
, 0
, 1
Available options:
1
, 2
, 3
, 4
Available options:
1
, 2
, 3
, 4
Maximum length:
4
Available options:
0
, 1
, 2
, 3
Available options:
0
, 1
, 2
, 3
Available options:
-2
, -1
, 0
, 1
, 2
Available options:
-1
, 0
, 1
, 2
, 3
Available options:
0
, 1
, 2
, 3
Available options:
1
, 2
, 3
, 4
Available options:
stripe
curl --request GET \
--url https://api.supernotes.app/v1/user \
--header 'Api-Key: <api-key>'
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"username": "<string>",
"referral_code": "<string>",
"bio": "<string>",
"photo": "<string>",
"kind": 0,
"prefs": {
"indent_type": 0,
"sort_type": 0,
"appearance_mode": -1,
"day_theme": 1,
"night_theme": 1,
"couple_key": "<string>",
"persona": 0,
"haptic_threshold": 0
},
"pref_flags": 123,
"feature_preview_flags": 123,
"pins": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"status": -2,
"access_level": -1
},
"subscription": {
"type": 1,
"started_when": "2023-11-07T05:31:56Z",
"expires_when": "2023-11-07T05:31:56Z",
"will_renew": true,
"source": "stripe",
"stripe_subscription_id": "<string>"
},
"quota": 123,
"intercom_hash": "<string>"
}