PUT api/2.0/crm/contact/{contactid}/avatar
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
|
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
}