Dummy JSON
  1. Auth
Dummy JSON
  • Start your journey
  • Dummy JSON
    • Auth
      • Login user and get tokens
        POST
      • Get current auth user
        GET
    • Users
      • Get all users
      • Get a single user
      • Add a new user
      • Update a user
      • Delete a user
    • Products
      • Get all products
      • Get a single product
      • Search product
      • Limit and skip product
      • Sort products
      • Get all products categories
      • Get products category list
      • Get products by a category
      • Add a new product
      • Update a product
      • Delete a product
    • Posts
      • Get all post
      • Get a single post
      • Search posts
      • Limit and skip posts
      • Sort posts
      • Get all posts tags
      • Get posts tag list
      • Get posts by a tag
      • Get all post by user id
      • Get post's comments
      • Add a new post
      • Update a post
      • Delete a post
  1. Auth

Get current auth user

GET
/auth/me
Last modified:2025-05-19 14:41:37
Maintainer:ekovegeance

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dummyjson.com/auth/me'

Responses

🟢200OK
application/json
Body
id
integer 
required
firstName
string 
required
lastName
string 
required
maidenName
string 
required
age
integer 
required
gender
string 
required
email
string 
required
phone
string 
required
username
string 
required
password
string 
required
birthDate
string 
required
image
string 
required
bloodGroup
string 
required
height
number 
required
weight
number 
required
eyeColor
string 
required
hair
object 
required
color
string 
required
type
string 
required
ip
string 
required
address
object 
required
address
string 
required
city
string 
required
state
string 
required
stateCode
string 
required
postalCode
string 
required
coordinates
object 
required
country
string 
required
macAddress
string 
required
university
string 
required
bank
object 
required
cardExpire
string 
required
cardNumber
string 
required
cardType
string 
required
currency
string 
required
iban
string 
required
company
object 
required
department
string 
required
name
string 
required
title
string 
required
address
object 
required
ein
string 
required
ssn
string 
required
userAgent
string 
required
crypto
object 
required
coin
string 
required
wallet
string 
required
network
string 
required
role
string 
required
Example
{
    "id": 0,
    "firstName": "string",
    "lastName": "string",
    "maidenName": "string",
    "age": 0,
    "gender": "string",
    "email": "string",
    "phone": "string",
    "username": "string",
    "password": "string",
    "birthDate": "string",
    "image": "string",
    "bloodGroup": "string",
    "height": 0,
    "weight": 0,
    "eyeColor": "string",
    "hair": {
        "color": "string",
        "type": "string"
    },
    "ip": "string",
    "address": {
        "address": "string",
        "city": "string",
        "state": "string",
        "stateCode": "string",
        "postalCode": "string",
        "coordinates": {
            "lat": 0,
            "lng": 0
        },
        "country": "string"
    },
    "macAddress": "string",
    "university": "string",
    "bank": {
        "cardExpire": "string",
        "cardNumber": "string",
        "cardType": "string",
        "currency": "string",
        "iban": "string"
    },
    "company": {
        "department": "string",
        "name": "string",
        "title": "string",
        "address": {
            "address": "string",
            "city": "string",
            "state": "string",
            "stateCode": "string",
            "postalCode": "string",
            "coordinates": {
                "lat": 0,
                "lng": 0
            },
            "country": "string"
        }
    },
    "ein": "string",
    "ssn": "string",
    "userAgent": "string",
    "crypto": {
        "coin": "string",
        "wallet": "string",
        "network": "string"
    },
    "role": "string"
}
Modified at 2025-05-19 14:41:37
Previous
Login user and get tokens
Next
Users
Built with