Authenticate User

Request

This is a GET request to authenticate a user.

GET /api/user

Sample Response:


{
    "id": 1,
    "counter_id": 1,
    "role": "admin",
    "user_name": "john_doe",
    "first_name": "John",
    "last_name": "Doe",
    "email": "a@b.com",
    "photo": null
    "mobile": "0123456789",
    "identity_type": "Passport",
    "identity_image": null,
    "date_of_birth": "1999-09-10",
    "country": null,
    "district_id": 1,
    "gender": "Male",
    "type": "1",
    "access_type": null,
    "account_type": null,
    "front_date": null,
    "back_date": null,
    "status": "1",
    "created_by": null,
    "updated_by": null,
    "email_verified_at": null,
    "sales_status": null,
    "booking_status": null,
    "block_status": null,
    "cancel_status": null,
    "created_at": "2025-09-12T08:10:47.000000Z",
    "updated_at": "2025-09-12T12:43:05.000000Z",
}