Get Started
Portal api methods
Help

PUT api/2.0/crm/contact/{contactid}/changephoto 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
photo
sent in body
Contact photo (upload using multipart/form-data) Files for adding using multipart/form-data
collection
N/A
Example
PUT api/2.0/crm/contact/1234/changephoto
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "photo": []
}
Returns

Path to contact photo