The API key owner's own profile (/me).

Context Vars

Optional
  • cal-com.api.key

Functions

me

fn (): Any
fn (opts: Map): Any

GET /me - The authenticated user: id, username, email, timeZone, weekStart, defaultScheduleId, organizationId, ... The cheapest way to check an API key.

Example

profile ::cal-com::users/me()
profile.timeZone

update-me

fn (changes: Map): Any
fn (changes: Map, opts: Map): Any

PATCH /me - Update the profile (name, email, timeZone, weekStart, timeFormat (12/24), defaultScheduleId, locale, avatarUrl, bio, metadata). Unset fields are omitted. An email change waits for verification before it takes effect.

Example

::cal-com::users/update-me({timeZone: "America/Chicago", weekStart: "Monday"})