Sign in

Create multiple records

documented

Create multiple CRM object records in a single request.

POST /crm/v3/objects/{objectTypeId}/batch/createCRMno implementation yet0 runs
No 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/{{$objectType}}/batch/create" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
  "inputs": [
    {
      "properties": {
        "name": "{{$name}}",
        "email": "{{$email}}",
        "phone": "{{$phone}}",
        "country": "{{$country}}",
        "custom_property_1": "{{$custom1}}"
      },
      "objectWriteTraceId": "{{$trace_id}}",
      "associations": []
    },
    {
      "properties": {
        "name": "{{$name2}}",
        "email": "{{$email2}}",
        "phone": "{{$phone2}}",
        "country": "{{$country2}}",
        "custom_property_2": "{{$custom2}}"
      },
      "objectWriteTraceId": "{{$trace_id2}}",
      "associations": []
    }
  ]
}'            
Create multiple records · HubSpot · OpenIntegrations