get-active-sessions

Information

GET https://api.brickverse.co/v2/auth/get-active-sessions

Get current active sessions.

Token field is always false and used internally.

{
    "status": "ok",
    "success": true,
    "sessions": [
        {
            "session_id": 1,
            "device": "Windows",
            "browser": "Google Chrome",
            "created": "2023-10-21 17:21:43",
            "location": {
                "ip": "IPv4",
                "type": "local",
                "city": "CITY",
                "region_name": "REGION",
                "region_code": "RG",
                "zip": "97301",
                "country_name": "COUNTRY",
                "country_code": "CC",
                "continent_code": "CC",
                "continent_name": "CONTINET",
                "latitude": 1,
                "longitude": 1
            },
            "is_staff": true,
            "same_device": true,
            "token": false
        }
    ]
}

Last updated