👤 Authentication

Get authenticated user information

Retrieve information about the currently authenticated user. This is typically the first endpoint you'll call to verify your API key is working correctly.

get/api/v1/me

Response

User information retrieved successfully

statusboolean
messagestring

Example response

{
  "status": true,
  "message": "User information retrieved successfully",
  "data": {
    "id": "64a1b2c3d4e5f6789012345",
    "_id": "64a1b2c3d4e5f6789012345",
    "firstname": "John",
    "lastname": "Doe",
    "full_name": "John Doe",
    "username": "johndoe",
    "email": "john@example.com",
    "phone_no": "+1234567890",
    "image": "/uploads/profile/user.jpg",
    "state": "active",
    "date_format": "Y-m-d",
    "time_format": "H:i:s",
    "created_at": "2024-01-15T10:30:00.000Z",
    "authenticated_at": "2024-01-20T14:25:30.000Z"
  }
}

Changes