Persons

Add person picture

Changed on

Adds a picture to a person. If a picture is already set, the old picture will be replaced. Added image (or the cropping parameters supplied with the request) should have an equal width and height and should be at least 128 pixels. GIF, JPG and PNG are accepted. All added images will be resized to 128 and 512 pixel wide squares.

post/persons/{id}/picture

Request

  • Base URL
    https://api.pipedrive.com/v1
  • Auth
    • API key in header x-api-token
    • or OAuth 2
      Authorization code: https://oauth.pipedrive.com/oauth/authorize
      Token URL: https://oauth.pipedrive.com/oauth/token scopes: contacts:full

Path parameters

idinteger required

The unique ID of the person

Request body multipart/form-data

filestring binary required

One image supplied in the multipart/form-data encoding

crop_xinteger

X coordinate to where start cropping form (in pixels)

crop_yinteger

Y coordinate to where start cropping form (in pixels)

crop_widthinteger

The width of the cropping area (in pixels)

crop_heightinteger

The height of the cropping area (in pixels)

Response

Success

successboolean

If the response is successful or not

Changes