Get the current user

GET {{baseUrl}}/v1/me

Returns information pertaining to the user associated with the provided access token. The company_admin:read scope is required to return email. The companies:read scope is required to return tier and work locations. The employees:read scope is required to return non-work locations.

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Acceptstring

RESPONSES

status: OK

{"uuid":"2107f55f-8b07-4e97-8596-8dfbe9420ef7","email":"hayden_schuppe@bernhard.name","roles":{"payroll_admin":{"companies":[{"uuid":"bffd4a21-7835-41a2-b41a-d691fbf12944","name":"Volkman LLC","trade_name":"Gibson LLC","tier":"concierge","is_partner_managed":false,"locations":[{"street_1":"3121 Milky Way","street_2":"","city":"San Francisco","state":"CA","zip":"94107","country":"USA","active":true}]}]}}}