Batch upsert contacts
documentedUpsert (insert or update) multiple contacts.
POST /crm/v3/objects/contacts/batch/upsertCRMno 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://api.hubapi.com/crm/v3/objects/contacts/batch/upsert" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"inputs": [ {"idProperty": "{{$idProperty}}", "id": "{{$id}}", "properties": {"firstname": "{{$firstname}}", "lastname": "{{$lastname}}", "phone": "{{$phone}}"}, "objectWriteTraceId": "{{$traceId}}"}, {"idProperty": "{{$idProperty}}", "id": "{{$id2}}", "properties": {"firstname": "{{$firstname2}}", "lastname": "{{$lastname2}}", "phone": "{{$phone2}}"}, "objectWriteTraceId": "{{$traceId2}}"} ]}'