Users

Show current user

Changed on

Returns the currently authenticated user.

get/api/v2/user

Request

  • Base URL: https://data.g2.com
  • URL: https://data.g2.com/api/v2/user
  • Auth: OAuth 2 (authorization code, authorization URL https://www.g2.com/oauth/authorize, token URL https://www.g2.com/oauth/token, scopes: openid, profile)

Query parameters

fields[users]string[]

Comma separated list of fields for users to include in response

Response

Current user details

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status