Oauth2InteractiveFlowPropertiesRequest*

GET {{base_url}}/Oauth2InteractiveFlowPropertiesRequest?Provider={{integer}}&WbScope={{integer}}

Returns data needed to perform OAuth 2.0 interactive flow initiated frontend.

* See Request Names under the Conventions section of the [Using the API Reference] topic.

API
OAuth 2.0 API

Requires Authentication
Yes

Returns
Oauth2CodeRequestProperties*

Batch?
No

Request Params

KeyDatatypeRequiredDescription
ProviderstringRequired.
(int32)
The OAuth 2.0 provider.
WbScopestringRequired.
(int32)
The OAuth 2.0 WorkBook scope.

HEADERS

KeyDatatypeRequiredDescription
AcceptstringRequired.
The type of content accepted by the API endpoint.
Content-TypestringRequired.
The type of content supported by the API endpoint.

RESPONSES

status: OK

{"ClientId":"46e93f40-a1234-0f04-1265-dgrsdffdfxh","RedirectUrl":"https://testurl.com/api/oauth2/redirect","Scope":"offline_access IMAP.AccessAsUser.All https://testurl.com/mail.read","State":"12fdrgfTy/CD+Wasf1/sdwQ==","ProviderUrl":"https://testurl.microsoftonline.com/49b3908-0426-69e4-2645-2616q1abqd16/oauth2/v2.0/authorize"}