Employee Actions
Identity
Get employee token identity
Changed onReturns user and company information for the authenticated employee.
Works while the employee is still onboarding, so it can confirm which employee a token belongs to before the employment is active. An offboarded employee gets 400, or 401 once their user account is closed.
Authentication
This endpoint accepts any one of the following token types:
- Employee-scoped access token (OAuth2Assertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant. See OAuth Assertion.
- Company-scoped access token (OAuth2AuthorizationCode) — obtained by the employee through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
get/v1/employee/current
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Client credentialsToken URL/auth/oauth2/token
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/token
Response
Success
Success Response required
A generic success response returned by operations that don't produce a specific resource (e.g., updates, deletes).
data, object required
Example response
{
"data": {
"status": "ok"
}
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
OAuth2AuthorizationCodewas added to the API
- info