Change a contact photo
PUT /api/2.0/crm/contact/{contactid:[0-9]+}/changephoto
Changes a photo for the contact with the ID specified in the request.
Request body
contactid
type: integer
Contact ID
Example: 0
photo
type: string[]
Contact photo (upload using multipart/form-data)
Request example
{
"contactid": 0,
"photo": [
"string"
]
}
Returns
Path to the contact photo. A request that is not authenticated returns 401.