GET api/2.0/thirdparty/{provider}/code
Returns the confirmation code for requesting an OAuth token.
Name |
Description |
Type |
Example |
code
sent in url
|
Confirmation code that can be exchanged for an OAuth token
|
string
|
some text
|
redirect
sent in body
|
URL where the user will be redirected to after they have granted the application access
|
string
|
some text
|
error
sent in body
|
Error
|
string
|
some text
|
GET api/2.0/thirdparty/{provider}/code?code=%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"redirect": "some text",
"error": "some text"
}