Get the social media for a contact
The API provides feature to get the list of social media for a contact, in order to get the list, we need to pass a valid contact id as URL parameter.
Request Information
URI Parameters
In order to make a call integrate the below parameters into Url while calling the API from an integration.
Name | Description | Type | Additional information |
---|---|---|---|
contactId |
pass the contact id to get the list. |
integer |
Required |
Get the list
In order to get the list of social media for a contact, pass a valid contact id as URL parameter, below is the sample:
admin/contact/socialmedia/9831292
Response Information
Resource Description
List of social media associated with the contact.
Collection of ContactSocialMediaName | Description | Type | Additional information |
---|---|---|---|
SocialMediaType |
Id indicating the Social Media Type. List of available Social Media Type IDs can be fetched by Querying the Lookup URL |
integer |
Required Range: inclusive between 1 and 100 |
URLSuffixValue |
URL Suffix for the Social Media Type. Example for Linked in- http://www.linkedin.com/jacknovwell , your URL Suffix name is 'jacknovwell'. |
string |
None. |
Id | integer |
None. |
|
RelatedToId | integer |
None. |
|
MergedWith_Or_Secondary_Id | integer |
None. |
|
MergeType | string |
None. |
|
SortOrder | integer |
None. |
Response Formats
[ { "SocialMediaType": 1, "URLSuffixValue": "String Parameter 2", "Id": 3, "RelatedToId": 1, "MergedWith_Or_Secondary_Id": 1, "MergeType": "String Parameter 4", "SortOrder": 1 }, { "SocialMediaType": 1, "URLSuffixValue": "String Parameter 2", "Id": 3, "RelatedToId": 1, "MergedWith_Or_Secondary_Id": 1, "MergeType": "String Parameter 4", "SortOrder": 1 } ]