v1

latestOpenAPI 3.0.12026-07-17172067.5 KB
Users

Get user profile

Retrieves the current user's profile.

get/api/v1/users/profile

Response

Profile retrieved successfully

statusboolean
messagestring

Example response

{
  "status": true,
  "message": "Profile retrieved successfully",
  "data": {
    "id": 1,
    "username": "johndoe",
    "email": "john@example.com",
    "full_name": "John Doe",
    "role": "admin",
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z"
  }
}