Authentication
Authentication and Scopes
The Insights Usage Data API requires the use of 3-legged OAuth2 tokens or 2-legged authentication using Personal Access Token (PAT). See the OAuth documentation for more information on 3-legged authentication, obtaining a bearer token, and scopes. Please see the Personal Access Token (PAT) documentation for more information on 2-legged authentication using Personal Access Token (PAT).
HTTP GET, POST, DELETE requests to the Insights and Exports Data API require the data:read
scope.
HTTP POST, DELETE requests to the Insights and Exports Data API require the data:write
scope.