跳到主要内容

Change a contact photo by URL

PUT /api/2.0/crm/contact/{contactid:[0-9]+}/changephotobyurl

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

Request body​

contactid​

type: integer

Contact ID

Example: 0

photourl​

type: string

Contact photo URL

Example: "string"

Request example​

{
"contactid": 0,
"photourl": "string"
}

Returns​

Path to the contact photo. A request that is not authenticated returns 401.