Get Started
Usage API
More information

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

Description

Changes a photo for the contact with the ID specified in the request by URL.

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 the contact photo