Authenticated User

The Authenticated User API retrieves the details of the currently authenticated user based on the provided token. This endpoint requires the Authorization header with a valid bearer token.

API Method

GET

Endpoint

https://cebuana-apiuat.veryfyglobal.com/auth/me

Headers

Key
Value

Accept

application/json

Authorization

Bearer <YOUR_TOKEN>

Response Sample

{
    "message": "Ok",
    "data": {
        "id": 1,
        "role": {
            "value": 0,
            "description": "Super Admin"
        },
        "branch": {
            "id": 1,
            "name": "CLH Cavite",
            "address": "1168 Cavite St., Brgy. 363 Zone 37, District III, Sta. Cruz, Manila"
        },
        "employee_id": "CHFXXXX",
        "name": "Cebuana",
        "email": "[email protected]",
        "is_active": {
            "value": 1,
            "description": "Yes"
        },
        "is_suspend": {
            "value": 0,
            "description": "No"
        }
    }
}

Last updated