Retrieve all active authentication sessions for the current user. Requires authentication.
curl --request GET \
--url https://api.fluxer.app/v1/auth/sessions \
--header 'Authorization: <api-key>'[
{
"id_hash": "<string>",
"current": true,
"client_info": {
"platform": "<string>",
"os": "<string>",
"browser": "<string>",
"location": {
"city": "<string>",
"region": "<string>",
"country": "<string>"
}
},
"approx_last_used_at": "2023-11-07T05:31:56Z"
}
]User session token from login: Authorization: <token> (no prefix). Prefer a bot account over user tokens where possible.
Success
The base64url-encoded session id hash
Whether this is the current session making the request
Client metadata recorded for this session
Show child attributes
Approximate timestamp of the last session activity
curl --request GET \
--url https://api.fluxer.app/v1/auth/sessions \
--header 'Authorization: <api-key>'[
{
"id_hash": "<string>",
"current": true,
"client_info": {
"platform": "<string>",
"os": "<string>",
"browser": "<string>",
"location": {
"city": "<string>",
"region": "<string>",
"country": "<string>"
}
},
"approx_last_used_at": "2023-11-07T05:31:56Z"
}
]