Search…
Current user

Available requests

  • GET /v1/me
  • PATCH/v1/me

The user object

1
{
2
"id": "user_1o4q123qMeCkKKIXcA9h8",
3
"object": "user",
4
"external_id" "my_previous_auth_solution_id",
5
"username": null,
6
"first_name": "Boss",
7
"last_name": "Clerk",
8
"profile_image_url": "https://images.clerk.dev/uploaded/img_jlkkcq2786n0.jpeg",
9
"primary_email_address_id": "idn_1o4qfa1caa235iei6",
10
"primary_phone_number_id": null,
11
"primary_web3_wallet_id": null,
12
"password_enabled": true,
13
"two_factor_enabled": false,
14
"email_addresses": [
15
{
16
"id": "idn_1o4dI2qlcaXSXE6",
17
"object": "email_address",
18
"email_address": "[email protected]",
19
"verification": {
20
"status": "verified",
21
"strategy": "from_oauth_google"
22
},
23
"linked_to": [
24
{
25
"type": "oauth_google",
26
"id": "idn_1o4qfbU8Y2345234acClb"
27
}
28
]
29
}
30
],
31
"phone_numbers": [],
32
"web3_wallets": [],
33
"external_accounts": [
34
{
35
"object": "google_account",
36
"id": "idn_1o4qfbU8YjpJgClb",
37
"google_id": "10086712340624",
38
"approved_scopes": "email https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid profile",
39
"email_address": "[email protected]",
40
"given_name": "Boss",
41
"family_name": "Clerk",
42
"picture": "https://lh3.googleusercontent.com/a-/AOh14Gl5hWBSGDUdas2341vtMfY6_NUbPx=s1000-c"
43
}
44
],
45
"public_metadata": {},
46
"created_at": 1612556316784,
47
"updated_at": 1627622297187
48
}
Copied!
get
https://clerk.example.com
/v1/me
Retrieve current user
patch
https://clerk.example.com
/v1/me
Update current user