Get third-party accounts
GET /api/2.0/people/thirdparty/providers
Request
Returns a list of the available third-party accounts.
Headers
- Accept
enum of string
Can be one of:
application/json
,text/json
,text/plain
.
Query
- inviteView
boolean
Specifies whether to return providers that are available for invitation links, i.e. the user can login or register through these providers
- settingsView
boolean
Specifies whether to return URLs in the format that is used on the Settings page
- clientCallback
string
Method that is called after authorization
- fromOnly
string
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
- provider
string
Provider
- url
string
uri URL
- linked
boolean
Specifies if an account is linked or not
- class
string
Class