Get the current user

GET {{baseUrl}}/v1/me

Returns information pertaining to the user associated with the provided access token.

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","id":5,"email":"hayden_schuppe@bernhard.name","roles":{"payroll_admin":{"companies":[{"id":3,"uuid":"bffd4a21-7835-41a2-b41a-d691fbf12944","name":"Volkman LLC","trade_name":"Gibson LLC","tier":"concierge","is_partner_managed":false,"locations":[{"id":4,"street_1":"3121 Milky Way","street_2":"","city":"San Francisco","state":"CA","zip":"94107","country":"USA","active":true}]}]}}}