Provides information about the current user session, including whether the user is logged in, can view invoices, or has administrative rights. It returns a unique ID ('requestId') that may be needed to track other API calls.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/session-info curl -X GET "https://cloud.hostup.se/api/session-info" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"isContact": true,
"authenticated": true,
"authType": "string",
"canAccessCdn": true
}
}