GET
/
me
/
profile
Retrieve user's profile
curl --request GET \
  --url https://console.gmicloud.com/api/v1/me/profile \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11",
    "email": "john.doe@example.com",
    "firstName": "john",
    "lastName": "doe",
    "lastLoginAt": 1740557336,
    "lastLoginIDP": "google"
  },
  "organization": {
    "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11",
    "role": "org_owner"
  }
}

Authorizations

Authorization
string
header
required

An access token used to authenticate a user and grant access to restricted APIs. It is issued by session APIs. For status codes related to this header, refer to the Common Headers Documentation.

Response

Successfully retrieved the user's profile.

The response is of type object.