---
title: "Find User by Email"
method: GET
path: "/getUserByEmail/{userEmail}"
tags: ["Users"]
---

# Find User by Email

`GET /getUserByEmail/{userEmail}`

Retrieves user details based on the email provided as a parameter.

## Path parameters

- `userEmail` string, required

## Headers

- `Authorization` string, required

## Response `200`

User information retrieved successfully

- ResponseUserResponse
  - `age` integer
  - `email` string
  - `id` string
  - `name` string

## Other responses

- `400` — Error: Invalid user ID
- `404` — User not found

---

[API](https://skmtc.net/huncoding/apis/meu-primeiro-crud-em-go-huncoding.md) · [All operations](https://skmtc.net/huncoding/apis/meu-primeiro-crud-em-go-huncoding/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huncoding/meu-primeiro-crud-em-go-huncoding/versions/5947d1adf479/schema)
