---
title: "Gets the user's profile"
method: GET
path: "/user/profile"
tags: ["user"]
---

# Gets the user's profile

`GET /user/profile`

## Response `200`

A user profile object

- ModelsUser
  - `_id` string — Profile info
  - `calendarAccounts` object — CalendarAccounts is a mapping from {`email_CALENDARTYPE` => CalendarAccount} that contains all the additional accounts the user wants to see google calendar events for
  - `calendarOptions` ModelsCalendarOptions
    - `bufferTime` ModelsBufferTimeOptions
      - `enabled` boolean
      - `time` integer
    - `workingHours` ModelsWorkingHoursOptions
      - `enabled` boolean
      - `endTime` number
      - `startTime` number
  - `email` string
  - `firstName` string
  - `hasCustomName` boolean — Whether the user has set a custom name for themselves, i.e. don't change their name when they sign in
  - `isPremium` boolean
  - `lastName` string
  - `numEventsCreated` integer
  - `picture` string
  - `primaryAccountKey` string — The calendarAccountKey of the account the user first signed in with
  - `stripeCustomerId` string — Stripe customer ID
  - `timezoneOffset` integer

---

[API](https://skmtc.net/schej-it/apis/schej-it-api.md) · [All operations](https://skmtc.net/schej-it/apis/schej-it-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/schej-it/schej-it-api/versions/c4d497429354/schema)
