GET api/2.0/thirdparty/{provider}/code This function requires authentication

Description

Returns the confirmation code for requesting an OAuth token.

Parameters
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
Example
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"
}
Returns

Confirmation code