Users

Get the signed-in user

get/v1/users/me

Request

  • Base URL: https://api.heyapi.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.heyapi.dev/v1/users/me
  • Auth: HTTP bearer

Response

OK

clerk_user_idstring nullable required
created_atstring date-time required
emailstring nullable required
first_namestring nullable required
idstring uuid required
image_urlstring nullable required
last_namestring nullable required
updated_atstring date-time required

Example response

{
  "clerk_user_id": "user_2tDpMYgevIkZOL76Wo6VzXxsbxD",
  "created_at": "2025-02-21T02:37:15.840Z",
  "email": "lubos@heyapi.dev",
  "first_name": "Lubos",
  "id": "e4ce4324-1177-47ca-aeef-b1d011bd3932",
  "image_url": "https://img.clerk.com/eyJ0eXBlIjoicHJveHkiLCJzcmMiOiJodHRwczovL2ltYWdlcy5jbGVyay5kZXYvdXBsb2FkZWQvaW1nXzJ0RzFucjNDbzg2azhDTWNoUlBxTHViVEdtTiJ9",
  "last_name": "Menus",
  "roles": [
    {
      "created_at": "2025-02-21T02:37:15.840Z",
      "id": "e4ce4324-1177-47ca-aeef-b1d011bd3932",
      "organization_id": "e4ce4324-1177-47ca-aeef-b1d011bd3932",
      "status": "active",
      "updated_at": "2025-02-21T02:37:15.840Z",
      "user_id": "5d2827a4-b3fc-4946-bb3b-72f23e89c6aa"
    }
  ],
  "updated_at": "2025-02-21T02:37:15.840Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.