This call will return user and account information for the currently authenticated user.
GET https://YOURACCOUNT.harvestapp.com/account/who_am_i
Parameter
Options
Week-Start-Day
Saturday
, Sunday
, Monday
Time-Format
Decimal
, Hours_Minutes
Clock
12h
, 24h
Decimal-Symbol
.
, ,
Color-Scheme
Orange
, Spring
, Green
, Legacy
, Behance
, Blue
, Purple
, Red
, LT-Grey
, Gray
Thousands-Seperator
,
, .
, '
, (space)
Timestamp-Timers
True
, False
Examples
HTTP Response: 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<company>
<base-uri> https://youraccount.harvestapp.com</base-uri>
<full-domain> youraccount.harvestapp.com</full-domain>
<name> Your Harvest Account</name>
<active type= "boolean" > true</active>
<week-start-day> Monday</week-start-day>
<time-format> decimal</time-format>
<clock> 12h</clock>
<decimal-symbol> .</decimal-symbol>
<color-scheme> orange</color-scheme>
<modules>
<expenses type= "boolean" > true</expenses>
<invoices type= "boolean" > true</invoices>
<estimates type= "boolean" > true</estimates>
<approval type= "boolean" > true</approval>
</modules>
<thousands-separator> ,</thousands-separator>
<plan-type> trial</plan-type>
</company>
<user>
<timezone> Eastern Time (US & Canada)</timezone>
<timezone-identifier> America/New_York</timezone-identifier>
<timezone-utc-offset type= "integer" > -14400</timezone-utc-offset>
<id type= "integer" > 12345</id>
<email> [email protected] </email>
<admin type= "boolean" > true</admin>
<first-name> Admin</first-name>
<last-name> User</last-name>
<avatar-url> /assets/profile_images/big_ben.png?1389271</avatar-url>
<project-manager>
<is-project-manager type= "boolean" > true</is-project-manager>
<can-see-rates type= "boolean" > true</can-see-rates>
<can-create-projects type= "boolean" > true</can-create-projects>
<can-create-invoices type= "boolean" > true</can-create-invoices>
</project-manager>
<timestamp-timers type= "boolean" > true</timestamp-timers>
</user>
</hash>
{
"company" : {
"base_uri" : "https://youraccount.harvestapp.com" ,
"full_domain" : "youraccount.harvestapp.com" ,
"name" : "Your Harvest Account" ,
"active" : true ,
"week_start_day" : "Monday" ,
"time_format" : "decimal" ,
"clock" : "12h" ,
"decimal_symbol" : "." ,
"color_scheme" : "orange" ,
"modules" : {
"expenses" : true ,
"invoices" : true ,
"estimates" : true ,
"approval" : true
},
"thousands_separator" : "," ,
"plan_type" : "trial"
},
"user" : {
"timezone" : "Eastern Time (US & Canada)" ,
"timezone_identifier" : "America/New_York" ,
"timezone_utc_offset" : -14400 ,
"id" : 12345 ,
"email" : "[email protected] " ,
"admin" : true ,
"first_name" : "Admin" ,
"last_name" : "User" ,
"avatar_url" : "/assets/profile_images/big_ben.png?1389271" ,
"project_manager" : {
"is_project_manager" : true ,
"can_see_rates" : true ,
"can_create_projects" : true ,
"can_create_invoices" : true
},
"timestamp_timers" : true
}
}