Skip to main content
GET
/
user
/
profile
Typescript (SDK)
import { Latitudesh } from "latitudesh-typescript-sdk";

const latitudesh = new Latitudesh({
  bearer: process.env["LATITUDESH_BEARER"] ?? "",
});

async function run() {
  const result = await latitudesh.userProfile.get();

  console.log(result);
}

run();
{
  "data": {
    "id": "user_L9B4LNaW0xiLXYQoaoPyt5oL9EN0",
    "type": "users",
    "attributes": {
      "first_name": "Jefferey",
      "last_name": "Boyer",
      "email": "[email protected]",
      "created_at": "2025-06-06T00:00:00+00:00",
      "updated_at": "2025-08-26T00:00:00+00:00",
      "role": {
        "id": "role_B48kwVxyWkuxNJ2ZjpoJcx1Bnlo",
        "name": "owner",
        "created_at": "2025-05-05T00:00:00.000Z",
        "updated_at": "2026-11-10T00:00:00.000Z"
      }
    }
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Response

200 - application/vnd.api+json

Success

data
object