GET /my/user

GET /my/user

Returns the profile of the logged in user

Responses

GET /my/user
curl \
 -X GET https://api.cosmily.com/api/v1/my/user \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": 42,
    "auth0_id": "string",
    "username": "string",
    "email": "string",
    "user_type": "string",
    "followed_by_count": 42,
    "following_count": 42,
    "supergroups": [
      "string"
    ],
    "last_active": "string",
    "followed_by_me": true,
    "survey_completed": true,
    "profile": {
      "id": 122,
      "user_id": 122,
      "full_name": "Jane Doe",
      "tagline": "Skincare lover from NYC.",
      "about_me": "Native New Yorker Janehn Doe is a NYC & MIAMI based esthetician, known for her microcurrent facials.  Her clients include some of the industry's top editors and models, and she's been featured in Vogue, Elle, Harper’s Bazaar, and countless other publications. ",
      "instagram_handle": "jane_doe122",
      "twitter_handle": "jane_doe122",
      "tiktok_handle": "jane_doe122",
      "instagram_url": "https://instagram.com/jane_doe122",
      "twitter_url": "https://twitter.com/jane_doe122",
      "tiktok_url": "https://instagram.com/jane_doe122",
      "profile_url": "https://cosmily.com/u/jane_doe",
      "website": "https://janedoe.com/",
      "referrer_id": 42
    },
    "skin_profile": {
      "id": 42,
      "user_id": 42,
      "complete": true,
      "gender": "female",
      "age_range": "25_34",
      "climate": "temperate",
      "locale_density": "suburban",
      "skin_types": [
        "oily",
        "rosacea"
      ],
      "skin_goals": [
        "anti_aging",
        "softening",
        "uv_protecting"
      ],
      "skin_concerns": [
        "allergen",
        "fragrance",
        "sulfate"
      ],
      "regular_treatments": [
        "botox",
        "laser_hair_removal",
        "facials"
      ],
      "routine_time_commitment": "medium",
      "weekly_sun_exposure": "medium",
      "weekly_workouts": 42,
      "skin_reactivity": 42,
      "skin_oilyness": 42,
      "stress_level": 42,
      "breakout_frequency": "sometimes",
      "morning_skin_feel": "oily",
      "value_most_in_product": "affordability",
      "updated_at": "2022-07-27T22:29:03.152Z"
    },
    "profile_picture": {
      "id": 42,
      "user_id": 42,
      "image": "string",
      "url": "string"
    }
  }
}