Gatana Documentation
RoutesUsersMe

/users/me

Get current the current authenticated user

GET
/users/me
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/users/me"
{
  "user": {
    "id": 0,
    "sub": "string",
    "tenantId": "string",
    "name": "string",
    "email": "user@example.com",
    "role": "member",
    "isDisabled": true,
    "isServiceAccount": true,
    "createdAt": "string",
    "updatedAt": "string"
  },
  "identities": [
    {
      "tenantId": 0,
      "externalId": "string",
      "userId": 0,
      "type": "external-oidc",
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}