LaundryAPI
  1. Users
LaundryAPI
  • Authentication
    • Signup
      POST
    • Resend Verification Code
      POST
    • Verify phone number
      POST
    • Login
      POST
    • Refresh Token
      GET
    • Forgot Password
      POST
    • Reset Password
      PATCH
    • Update Password
      PATCH
    • Logout
      POST
  • Users
    • Get Me
      GET
    • Update Me
      PATCH
    • Delete Me
      DELETE
    • Get All Users
      GET
    • Update User
      PATCH
    • Delete User
      DELETE
    • Create Delivery
      POST
    • Create Admin
      POST
  • Items
    • Get all items
      GET
    • Get Single item
      GET
    • Create item
      POST
    • Update item
      PATCH
    • Delete item
      DELETE
  • Orders
    • Get all orders
      GET
    • Single Order
      GET
    • Create Order
      POST
    • Delete order
      DELETE
    • Update Order
      PATCH
  • Branches
    • All Branches
    • Single Branch
    • branch's orders
    • Nearest Branches
    • Create Branch
    • update branch
    • Delete branch
  • Notifications
    • All Notifications
    • Create notification
    • Delete Notification
  • Banners
    • All Banners
    • Create Banner
    • Delete Banners
  • WhatsApp
    • initialize whatsapp Session
  1. Users

Get Me

GET
http://82.180.154.188:4352/users/me
Last modified:2025-04-05 19:20:00
Retrieves the currently logged-in user's profile information. Requires authorization. The user must be authenticated to access this endpoint.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://82.180.154.188:4352/users/me' \
--header 'Authorization: Bearer '
Response Response Example
{
    "status": "success",
    "data": {
        "user": {
            "_id": "67f504689dc177f78d98cc23",
            "name": "Mostafa Elsawy",
            "email": "mostafa@gmail.com",
            "phoneNumber": "01025723911",
            "role": "ADMIN",
            "emailStatus": "verified",
            "__v": 2,
            "accountStatus": "ACTIVE",
            "location": {
                "type": "Point",
                "coordinates": [
                    30.323,
                    30.3233
                ],
                "area": "خميس مشيط",
                "buildingNo": "1111",
                "floorNo": "54554",
                "apartmentNo": "2332",
                "buildingLockCode": "12332",
                "securityGuardMobile": "23342"
            }
        }
    }
}

Request

Header Params
Authorization
string 
required
Example:
Bearer {{JWT}}

Responses

🟢200OK
application/json
Body
status
string 
required
data
object 
required
user
object 
required
Previous
Logout
Next
Update Me
Built with