WakaTime Compatibility
Get current user (WakaTime compatible)
Returns profile metadata for the user authenticated by the API key.
get/api/hackatime/v1/users/{id}
Path parameters
idstring required
User ID or "current" (recommended). The authenticated user is resolved from the API token.
Response
successful
Example response
{
"data": {
"id": "42",
"username": "orpheus",
"display_name": "Orpheus",
"full_name": "Orpheus",
"photo": "https://example.com/orpheus.png",
"timezone": "America/New_York",
"plan": "free"
}
}