Get Started
API backend
API system
More information

POST api/2.0/crm/contact/socialmediaavatar This function requires authentication

Description

Returns a list of the contact social media images from the social networks specified in the request.

Parameters
Name Description Type Example
socialNetworks
sent in body
List of contact social networks list of ContactInfoWrapper
Example
POST api/2.0/crm/contact/socialmediaavatar
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "socialNetworks": [
    {
      "id": 0,
      "InfoType": 0,
      "Category": 0,
      "Data": "support@onlyoffice.com",
      "CategoryName": "Home",
      "IsPrimary": false
    }
  ]
}
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>