TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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

Description

Changes a photo using its URL 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 the contact photo