Get Started
Portal api methods
Help

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

Description

Changes the photo for the contact with the ID specified in the request

Parameters
Name Description Type Example
contactid
sent in url
Contact ID number 1234
photourl
sent in body
contact photo url string some text
Example
PUT api/2.0/crm/contact/1234/changephotobyurl
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "photourl": "some text"
}
Returns

Path to contact photo