Batch upsert records
documentedUpsert (insert or update) multiple records in batch.
POST /crm/v3/objects/{objectTypeId}/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.hubspot.com/crm/v3/objects/{{$objectTypeId}}/batch/upsert" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"inputs": [{"id": "{{$id}}", "properties": {"firstname": "{{$firstname}}", "lastname": "{{$lastname}}", "email": "{{$email}}", "phone": "{{$phone}}"}, "idProperty": "{{$idProperty}}", "objectWriteTraceId": "{{$traceId}}"}]}'