GetOAuthAuthorizationURL
Generates the HubSpot OAuth authorization URL used to obtain the access token for API authentication.
Input
| Name | Type | Description |
| CallbackUrl | String | The URL the user will be redirected to after authorizing your application. |
| RequiredScopes | String | List of mandatory scopes that your app must request. These should align with the scopes marked as required in your app configuration. |
| OptionalScopes | String | Scopes that your app can optionally request. These are ignored if not available in the connected HubSpot account and will not cause authorization to fail. |
| State | String | This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to Dynamics authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Result Set Columns
| Name | Type | Description |
| URL | String | The URL to enter into a Web browser to obtain the verifier token and authorize the connector. |