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

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