G2 API
- URL
-
https://data.g2.com - Spec
- https://data.g2.com/openapi/v2.yaml
- Docs
- https://data.g2.com/api/v2/docs/index.html
Create or log into your organization in the G2 Developer Portal. To mint a token, open the Access Tokens tab, choose Generate Token, name the token, choose a Resource Owner (User or Organization), assign endpoint permissions, and save. The portal reveals the token once; copy it and store it securely. G2's docs say you can then use it against the G2 API reference.
Create or log into your organization in the G2 Developer Portal. In OAuth Apps, select New OAuth App, enter the app name, privacy-policy URL, terms-of-service URL, and redirect URL, optionally mark it Confidential if it can store a secret, choose endpoint Permissions, and save. Open the app's Details view to copy the Client ID and Secret. Use those with G2's OAuth flow (https://www.g2.com/oauth/authorize and https://www.g2.com/oauth/token) and request only scopes matching the permissions enabled for the app. Example documented scopes include openid, profile, products.read, and products.reviews.read.