---
title: "Get a single user by authId"
method: GET
path: "/api/v1/users/{authId}"
tags: ["Users"]
---

# Get a single user by authId

`GET /api/v1/users/{authId}`

Required scope - read_user

## Path parameters

- `authId` string, required

## Response `200`

A single user object

- object
  - `user` UserDetail
    - `id` number
    - `authId` string
    - `email` string, nullable
    - `socialAccountId` string, nullable
    - `socialAccountType` string, nullable
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `locale` string
    - `emailVerified` boolean
    - `otpVerified` boolean
    - `smsPhoneNumberVerified` boolean
    - `isActive` boolean
    - `createdAt` string
    - `updatedAt` string
    - `deletedAt` string, nullable
    - `roles` string[], nullable

## Changes

- **2024-09-26** `192da8a641d0` — 1 info
  - added the optional property `user/allOf[#/components/schemas/User]/smsPhoneNumberVerified` to the response with the `200` status
- **2024-09-17** `1f092af5030c` — 1 warning, 2 info
  - removed the optional property `user/allOf[#/components/schemas/User]/googleId` from the response with the `200` status
  - added the optional property `user/allOf[#/components/schemas/User]/socialAccountId` to the response with the `200` status
  - added the optional property `user/allOf[#/components/schemas/User]/socialAccountType` to the response with the `200` status
- **2024-08-18** `6c0a71f4107a` — 1 info
  - added the optional property `user/allOf[#/components/schemas/User]/googleId` to the response with the `200` status
- **2024-08-14** `3c591337acf2` — 1 info
  - added the optional property `user/allOf[#/components/schemas/User]/otpVerified` to the response with the `200` status
- **2024-08-11** `11e2773b3a1e` — 19 breaking, 5 warning
  - the response property `user/allOf[#/components/schemas/User]/authId` became optional for the status `200`
  - the response property `user/allOf[#/components/schemas/User]/createdAt` became optional for the status `200`
  - the response property `user/allOf[#/components/schemas/User]/deletedAt` became optional for the status `200`
  - the response property `user/allOf[#/components/schemas/User]/email` became optional for the status `200`
  - …20 more

[Change history](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api/changes/api/v1/users/:authId/get.md)

---

[API](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api.md) · [All operations](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api/llms.txt) · [OpenAPI document](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api/revisions/ffd604cd7944?raw)
