The Sharesight User API uses the OAuth 2.0 protocol. To authenticate with OAuth 2.0 we strongly recommend that you use an OAuth library in your favourite programming language .
The following OAuth 2.0 authentication endpoints are available
Contact Sharesight to request an API account. Once enabled, your OAuth 2.0 Client ID, Client Secret and your Redirect URI will be available under Account Settings > Sharesight Connect.
We recommend to read following article by Aaron Parecki which offers a simple explanation and advice for implementing the OAuth 2.0 protocol. Although we recommend using an Ouuth Library, we've also provided an OAuth example using cURL which details the mechanics of the OAuth 2.0 authentication flow.
Be aware that Sharesight access tokens are valid for 30 minutes and need to be refreshed frequently.
Generally we recommend that you use the authorization_code grant type. If you