Get Current User
Changed onRetrieve the user that owns the API key. Returns every field of the team member object plus personal settings: timezone, date and time formats, time off permissions, connected integration accounts, and the full team object.
Request
- Base URLhttps://api.everhour.com
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"id": 1304,
"email": "john.bender@example.com",
"name": "John Bender",
"headline": "CEO",
"phone": "+1 555 0100",
"externalId": "M-3490",
"avatarUrl": "https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d07ca81.jpg",
"avatarUrlLarge": "https://d36887svjhykt4.cloudfront.net/users/1304-15ea197d10830c.jpg",
"role": "admin",
"status": "active",
"type": "employee",
"createdAt": "2016-08-13 15:27:30",
"isEmailVerified": true,
"capacity": 144000,
"cost": 2500,
"groups": [
{
"id": 1,
"name": "Admins"
}
],
"permissions": {
"billingBudgets": "write",
"userLimits": "write",
"costs": "write",
"invoices": "write",
"expenses": "write"
},
"timeTrackingPolicy": {
"allowTimeWithoutTask": true,
"allowManualTimeInput": true,
"allowCompletedTaskTime": true,
"allowTimeWithoutEstimate": true,
"allowManageEstimates": true,
"lockTimeAfter": 2,
"lockTimePeriod": "days"
},
"timezone": 3,
"hasPassword": true,
"dateFormat": 1,
"dateTimeFormat": 12,
"timeFormat": 1,
"exportTimeFormat": 4,
"exportCsvSeparator": 1,
"timeRounding": 1,
"timeRoundingDirection": "nearest",
"startPage": "time",
"activityMode": "detailed",
"timeOffPermissions": {
"read": "all",
"write": "request"
},
"accounts": [
{
"id": "as:1185184465308295",
"platform": "as",
"name": "John Bender",
"email": "john.bender@example.com",
"status": "active",
"createdAt": "2020-07-20 09:39:09"
}
],
"team": {
"id": 2,
"name": "Acme Inc",
"createdAt": "2016-08-13 18:10:36",
"logoUrl": "https://d36887svjhykt4.cloudfront.net/teams/2-16a7d93a236d9b.jpg",
"owner": {
"id": 7,
"name": "Jane Doe",
"headline": "CPO"
},
"workdays": [
"MON",
"TUE",
"WED",
"THU",
"FRI"
],
"beginningOfWeek": 1,
"workHoursFrom": "09:00",
"workHoursTo": "18:00",
"workTimeMin": 23400,
"workTimeMax": 30600,
"lockTimeEnabled": true,
"lockTimeAfter": 2,
"lockTimePeriod": "days",
"defaultRate": 5000,
"defaultCost": 2500,
"defaultCapacity": 144000,
"currencyDetails": {
"code": "USD",
"name": "US Dollar",
"symbol": "$"
},
"billing": {
"plan": "team_monthly",
"status": "paid",
"seats": 18,
"quantity": 18,
"paidPeriodEnd": "2026-10-07 10:00:53",
"trialEndedAt": "2018-08-03 10:26:27",
"billingEmail": "billing@example.com",
"canManageSeats": true
},
"timeOffPermissions": {
"read": "all",
"write": "request"
}
},
"rate": 5000
}Changes
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status
- warning