APIs & Integrations

hli6
Member

The number of objects that can be added or modified at a time using the bulk add or modify interface

{
    "inputs": [
        {
            "properties": {
                "email": "bcooper@qq.net",
                "handle": "jenny"
            }
        },
         {
            "properties": {
                "email": "bcooper@qq.com",
                "handle": "jenny2"
            }
        },
         {
            "properties": {
                "email": "bcooper@163.com",
                "handle": "jenny3"
            }
        }
    ]
}
1 Reply 1
GRajput
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

The number of objects that can be added or modified at a time using the bulk add or modify interface

Hi @hli6 

You can refer to the link for bulk modify the interface

https://developers.hubspot.com/docs/api/crm/contacts

curl --request POST \
  --url https://api.hubapi.com/crm/v3/objects/contacts/batch/update \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data '{
  "inputs": [
    {
      "idProperty": "my_unique_property_name",
      "id": "string",
      "properties": {
        "email": "bcooper@biglytics.net",
        "phone": "(877) 929-0687",
        "company": "Biglytics",
        "website": "biglytics.net",
        "lastname": "Cooper",
        "firstname": "Bryan"
      }
    }
  ]
}'

 

link for bulk create the interface

 

curl --request POST \
  --url https://api.hubapi.com/crm/v3/objects/contacts/batch/create \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data '{
  "inputs": [
    {
      "properties": {
        "email": "bcooper@biglytics.net",
        "phone": "(877) 929-0687",
        "company": "Biglytics",
        "website": "biglytics.net",
        "lastname": "Cooper",
        "firstname": "Bryan"
      }
    }
  ]
}'

 

"I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!"




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


0 Upvotes