Retrieve information about the currently logged-in user. This is useful for personalizing the interface or verifying user permissions. The endpoint returns a unique requestId that can be used to track the call in logs or for follow-up actions.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/current-user curl -X GET "https://cloud.hostup.se/api/current-user" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"user": "string"
}
}