...
Excerpt |
---|
Connects an account with a specific social media.
|
Endpoint ID: | 3003 | |||||||||||||
Method: |
| |||||||||||||
URL: | /userentity/dp-keyid/{dpentity-keyid}/social-connections /userentity/ext-key/{ext-key}/{ext-type}/social-connections
| |||||||||||||
dp-key | dialogportal™ master key entity-id | Rubiq entity ID that uniquely identifies account an account to add social connection to | ||||||||||||
ext-key | External key that uniquely identifies an account to add social connection to | |||||||||||||
ext-type | Type of external key | |||||||||||||
Request body: | JSON data with information about type of social media (currently only Facebook), social media id and social media access token
| |||||||||||||
| JSON data with information about the newly created social connection
| |||||||||||||
Status codes: | 201 | Connection created successfully | ||||||||||||
303 | Account is already connected to the specified social media | |||||||||||||
404 | Social media with the type and id is already connected to another account
The following sub codes may be returned:
| |||||||||||||
404 | Account was not found |