PUT api/2.0/crm/contact/{contactid}/changephotobyurl
Changes a photo using its URL for the contact with the ID specified in the request.
Name |
Description |
Type |
Example |
contactid
sent in url
|
Contact ID
|
number
|
1234
|
photourl
sent in body
|
Contact photo URL
|
string
|
some text
|
PUT api/2.0/crm/contact/1234/changephotobyurl
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"photourl": "some text"
}
Path to the contact photo