Authorizations
Response
200 - application/vnd.api+json
Success
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.user_profile.get()
# Handle response
print(res)
{
"data": {
"id": "user_BgrNj7anj4IxA7KExoK7SzYAEmE",
"type": "users",
"attributes": {
"first_name": "Ernest",
"last_name": "Moen",
"email": "gerard@bashirian.test",
"created_at": "2025-06-26T00:00:00+00:00",
"updated_at": "2025-03-03T00:00:00+00:00",
"role": {
"id": "role_kpoKZwloZ9HN140lwRW3sVg20V9",
"name": "owner",
"created_at": "2025-06-18T00:00:00.000Z",
"updated_at": "2026-05-24T00:00:00.000Z"
}
}
},
"meta": {}
}
Retrieve the current user profile
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.user_profile.get()
# Handle response
print(res)
{
"data": {
"id": "user_BgrNj7anj4IxA7KExoK7SzYAEmE",
"type": "users",
"attributes": {
"first_name": "Ernest",
"last_name": "Moen",
"email": "gerard@bashirian.test",
"created_at": "2025-06-26T00:00:00+00:00",
"updated_at": "2025-03-03T00:00:00+00:00",
"role": {
"id": "role_kpoKZwloZ9HN140lwRW3sVg20V9",
"name": "owner",
"created_at": "2025-06-18T00:00:00.000Z",
"updated_at": "2026-05-24T00:00:00.000Z"
}
}
},
"meta": {}
}
Success
Show child attributes
Was this page helpful?