Skip to content

Get current user profile

GET
/api/v1/me/profile
curl --request GET \
--url http://localhost:3000/api/v1/me/profile \
--header 'Authorization: Bearer <token>'
Media type application/json
object
id
required

User ID

string
email
required

User email

string
name

User display name

string
phone

Phone number

string
timezone
required

Timezone

string
default: UTC
locale
required

Locale

string
default: en
emailNotifications
required

Email notifications enabled

boolean
default: true
smsNotifications
required

SMS notifications enabled

boolean
pushNotifications
required

Push notifications enabled

boolean
default: true
marketingEmails
required

Marketing emails enabled

boolean
bio

User bio

string
jobTitle

Job title

string
department

Department

string
location

Location

string
createdAt
required

Created at

string format: date-time
updatedAt
required

Updated at

string format: date-time
lastLoginAt

Last login timestamp

string format: date-time
isSuperAdmin
required

Whether the user is a super admin

boolean
roles
required

Effective roles for the current user

Array<string>
Example
{
"timezone": "UTC",
"locale": "en",
"emailNotifications": true,
"smsNotifications": false,
"pushNotifications": true,
"marketingEmails": false,
"isSuperAdmin": false,
"roles": [
"admin"
]
}