Get My Personal Details

Get all personal user details

GET {{URL}}/api/v1/me

This endpoint allows you to get all your personal details.

Headers

Name
Type
Description

Authentication

string

Authentication token assigned to a specific user

{
    "status": "success",
    "message": "User retrieved successfully",
    "results": 1,
    "data": {
        "userPermissions": {
            "login": 1,
            "readArticles": 1
        },
        "role": "Super-Admin",
        "interests": [],
        "isVerified": true,
        "_id": "6087c73745c7ce136886b821",
        "email": "[email protected]",
        "username": "nezha-03",
        "createdAt": "2021-04-27T08:11:35.000Z",
        "__v": 0
    }
}

Last updated

Was this helpful?