---
title: "Get the user authentication data"
method: GET
path: "/auth/user/"
tags: ["Accounts", "public"]
---

# Get the user authentication data

`GET /auth/user/`

Retrieves and returns the account information for the authenticated user.

A user ID or email must be provided as a query parameter.

## Query parameters

- `userId` string
- `email` string

## Headers

- `x-m2-organization-id` string, required

## Response `200`

The response to querying a user's account information.
We return an array which will be empty if no user is found, and may contain multiple entries if the query parameter is an email.

- object[] — The response to querying a user's account information. We return an array which will be empty if no user is found, and may contain multiple entries if the query parameter is an email.
  - `uid` string, required
  - `emailVerified` boolean
  - `email` string
  - `displayName` string
  - `photoURL` string
  - `providerData` object[]
    - `providerId` string
    - `uid` string
    - `email` string
    - `displayName` string
    - `photoURL` string
    - `phoneNumber` string

---

[API](https://skmtc.net/otherside/apis/accounts.md) · [All operations](https://skmtc.net/otherside/apis/accounts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/accounts/revisions/99b138ac9152/schema)
