Skip to main content
GET
/
auth
/
me
curl https://secureapi.gridlog.io/api/v1/auth/me \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "email": "admin@yourcompany.com",
  "roleName": "business_admin",
  "businessId": "456e7890-e89b-12d3-a456-426614174001"
}
curl https://secureapi.gridlog.io/api/v1/auth/me \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "email": "admin@yourcompany.com",
  "roleName": "business_admin",
  "businessId": "456e7890-e89b-12d3-a456-426614174001"
}
id
string
UUID of the account
email
string
Email address of the account
roleName
string
Role assigned to this account. One of: super_admin, admin, business_admin
businessId
string
UUID of the business this account belongs to