---
title: "Get user details by email."
method: GET
path: "/users/{email}"
tags: ["Users"]
---

# Get user details by email.

`GET /users/{email}`

## Request

- Base URL: `https://api.enterprise.airtm.com/v2`
- URL: `https://api.enterprise.airtm.com/v2/users/{email}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/docs/users/:email/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the current status of any user's account by email.

> [!important]
> The email parameter should be [URL Encoded](https://www.w3schools.com/tags/ref_urlencode.ASP).

## Path parameters

- `email` string, required

## Response `200`

Ok

- User: A user in Airtm
  - `id` string, uuid, required
  - `status` 'active' | 'inactive', required: Whether the user is active or inactive in Airtm
  - `primaryEmail` boolean, required: Indicates if the queried email corresponds to the user's primary email > [!tip] > Airtm allows accounts to register secondary emails
  - `firstName` string: The user's first name as registered in Airtm
  - `lastName` string: The user's last name as registered in Airtm
  - `country` string: The ISO alpha-3 code for the country where the user's ID was issued
  - `isVerified` boolean, required: Indicates whether the user is verified

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2.md) - [All operations](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/revisions/c9ed13d4c5c0?raw)
