Get third-party accounts

GET /api/2.0/people/thirdparty/providers

Request

Returns a list of the available third-party accounts.

Headers

Acceptenum of string

Can be one of: application/json, text/json, text/plain.

Query

inviteViewboolean

Specifies whether to return providers that are available for invitation links, i.e. the user can login or register through these providers

settingsViewboolean

Specifies whether to return URLs in the format that is used on the Settings page

clientCallbackstring

Method that is called after authorization

fromOnlystring

Provider name if the response only from this provider is needed

Examples

GET /api/2.0/people/thirdparty/providers?inviteView=true&settingsView=true&clientCallback=some%20text&fromOnly=some%20text HTTP/1.1
Accept: application/json
Host: example.com
curl --request GET \
  --url 'https://example.com/api/2.0/people/thirdparty/providers?inviteView=true&settingsView=true&clientCallback=some%20text&fromOnly=some%20text' \
  --header 'Accept: application/json'

Responses

200

List of third-party accounts

providerstring

Provider

urlstringformat: uri

URL

linkedboolean

Specifies if an account is linked or not

classstring

Class

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).