Get Started
Portal api methods
Help

PUT api/2.0/crm/contact/{contactid}/avatar This function requires authentication

Parameters
Name Description Type Example
contactId
sent in url
number 1234
socialNetwork
sent in body
Twitter
userIdentity
sent in body
string some text
uploadOnly
sent in body
Bool value true
Example
PUT api/2.0/crm/contact/1234/avatar
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "socialNetwork": "Twitter",
  "userIdentity": "some text",
  "uploadOnly": true
}
Returns