---
title: "Get User By Email"
method: GET
path: "/api/admin/users/by-email/{email}"
tags: ["Admin"]
---

# Get User By Email

`GET /api/admin/users/by-email/{email}`

Get user details by email address.

## Path parameters

- `email` string, required

## Response `200`

Successful Response

- UserDetailsResponse
  - `success` boolean
  - `user_id` string, required
  - `email` string, nullable
  - `full_name` string, nullable
  - `tier` 'tier1' | 'tier2' | 'tier3' | 'tier4' | 'tier5'
  - `prepaid_spent` number
  - `prepaid_added` number
  - `prepaid_balance` number
  - `role` 'user' | 'admin' | 'support'
  - `account_type` 'user' | 'enterprise' — Account type: determines billing mode and allowed API key scopes. - USER: Prepaid wallet billing, can create user-scope keys - ENTERPRISE: Postpaid invoice billing, can create enterprise-scope keys
  - `created_at` string, nullable
  - `last_login` string, nullable

## Other responses

- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/versions/93ee959dfa51/schema)
