3001: Get social connections
Returns information about all the social media that a given entity is connected to.
Endpoint ID: | 3001 | |||||
Method: | GET | |||||
URL: | /entity/id/{entity-id}/social-connections /entity/ext-key/{ext-key}/{ext-type}/social-connections | |||||
entity-id | Rubiq entity ID that uniquely identifies an account to get social connections for | |||||
ext-key | External key that uniquely identifies an account to get social connections for | |||||
ext-type | Type of external key | |||||
Request body: | None | |||||
Response body: | JSON data with information about social connections for the given account Example 1 – Account is connected to Facebook: { "socialConnections”: [ { "id": 1234, "type": "facebook", "appID": 987654321, "userID": 123456789, "accessToken": "...", "accessTokenExpires": "..." } ] } Example 2 – Account has no social connections: { "socialConnections":[] } | |||||
Status codes: | 200 | Success | ||||
404 | Account was not found The following sub codes may be returned:
|