Employee Actions
Identity

Get employee token identity

Changed on

Returns 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 URL
    https://gateway.remote.com
  • Auth
    • OAuth 2
      Client credentials
      Token URL/auth/oauth2/token
    • or OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token

Response

Success

SuccessResponse 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