GET api/2.0/crm/contact/{contactid}/socialmediaavatar This function requires authentication

Description

Returns a list of the social media images for the contact with the ID specified in the request.

Parameters
Name Description Type Example
contactId
sent in url
Contact ID number 1234
Example
GET api/2.0/crm/contact/1234/socialmediaavatar
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of social media images

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "SocialNetwork": 0,
      "ImageUrl": "url to img",
      "Identity": "Identity"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <SocialNetwork>0</SocialNetwork>
    <ImageUrl>url to img</ImageUrl>
    <Identity>Identity</Identity>
  </response>
</result>