Getting Started
Identity

Get token identity

Shows information about the entities that can be controlled by the current auth token.

Authentication

This endpoint accepts any one of the following token types:

  • Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
  • Client credentials access token (OAuth2ClientCredentials) — obtained through the Client Credentials flow or the Refresh Token flow. See Authentication for partners.
  • Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page. See Authorization for customers.
get/v1/identity/current

Request

  • Base URL: https://gateway.remote.com
  • URL: https://gateway.remote.com/v1/identity/current
  • Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token) and OAuth 2 (client credentials, token URL /auth/oauth2/token)

Headers

Authorizationstring required

This endpoint works with any of the access tokens provided. You can use an access token obtained through the Client Credentials flow, the Authorization Code flow, or the Refresh Token flow.

Response

Success

OR
OR

Example response

{
  "data": {
    "client_id": "1pws9iw986yq1ec57h159q29l",
    "integration": {
      "contact_email": "partner_admin@example.com",
      "display_name": "Integration Display Name",
      "name": "integration_partner"
    }
  }
}

Changes

No recorded changes to this operation across all 65 revisions of this API.