GET
/
v1
/
user
curl --request GET \
  --url https://api.supernotes.app/v1/user
{
  "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,
      "persona": 1,
      "appearance_mode": -1,
      "day_theme": 1,
      "night_theme": 1,
      "couple_key": "<string>"
    },
    "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": "<any>",
    "stripe_subscription_id": "<string>"
  },
  "quota": 123,
  "intercom_hash": "<string>"
}

Authorizations

Api-Key
string
headerrequired

Response

200 - application/json
data
object
required
subscription
object | null
required
quota
integer
required
intercom_hash
string