provider Persons POST
/persons/{id}/picture @utdk/pipedrive
/persons/{id}/picture Add person picture
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.
- id path required
- The ID of the person
- integer
Try it
Authentication
Configure credentials for Pipedrive API v1
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import pipedrive from '@utdk/pipedrive';
await pipedrive.addpersonpicture()