Add person
documentedCreate a new person (v2).
POST /api/v2/personsPersonsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$company_subdomain}}.pipedrive.com/api/v2/persons" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "owner_id": {{$owner_id}}, "org_id": {{$org_id}}, "emails": [{"label": "work", "value": "{{$email}}"}], "phones": [{"label": "mobile", "value": "{{$phone}}"}], "visible_to": {{$visible_to}}, "label_ids": {{$label_ids}}, "custom_fields": {{$custom_fields}}}'