# Load bulk data to custom objects using API

**URL:** <https://community.hubspot.com/t/load-bulk-data-to-custom-objects-using-api/38193>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [June 1, 2021, 5:09am UTC](https://community.hubspot.com/t/load-bulk-data-to-custom-objects-using-api/38193 "2021-06-01T05:09:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SVaish9](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/svaish9/32/62359_2.png) [@SVaish9](https://community.hubspot.com/u/SVaish9)\
**Post date:** [June 1, 2021, 5:09am UTC](https://community.hubspot.com/t/load-bulk-data-to-custom-objects-using-api/38193/1 "2021-06-01T05:09:31Z")

</div>

Hi folks, I am looking to bulk load data using the [API](https://developers.hubspot.com/docs/api/crm/crm-custom-objects). I was able to do that for standard objects using the OAuth and now I want to extend the capabilities to custom objects.  
My question is that, will I be able to load data to custom objects using standard APIs, or would I need to enroll in the [Custom Objects OAuth Pilot Program](https://developers.hubspot.com/docs/api/custom-objects-schema-pilot)? The user will create the custom object on Hubspot and we just want to load data into it.  
PS: We are building an ETL tool and the features of loading data would work for multiple companies

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [June 1, 2021, 6:05am UTC](https://community.hubspot.com/t/load-bulk-data-to-custom-objects-using-api/38193/2 "2021-06-01T06:05:18Z")

</div>

Hi @SVaish9,

By loading bulk data to a custom object, you mean to update the custom objects in bulk?

If this is what you want then you can achieve it by - **/crm/v3/objects/{objectType}/batch/update**  
and if you want to read custom objects in bulk you can by - **/crm/v3/objects/{objectType}/batch/read**

More details here, in the objects tab - [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/crm-custom-objects)

Best Regards

---

<div class="post-metadata">

**Author:** ![SVaish9](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/svaish9/32/62359_2.png) [@SVaish9](https://community.hubspot.com/u/SVaish9)\
**Post date:** [June 2, 2021, 8:42am UTC](https://community.hubspot.com/t/load-bulk-data-to-custom-objects-using-api/38193/3 "2021-06-02T08:42:44Z")

</div>

Hi @himanshurauthan ,

Thanks for answering the query.  
What we wanna do is to pull data from our database and push it into custom objects. For this, I went through the APIs you mentioned - how do we get the **objectType** you mentioned in your answer. Also, I had a look at the [import API](https://developers.hubspot.com/docs/api/crm/imports) and it has the option of loading the data in custom objects but the problem is the **columnObjectTypeId** to load the data. How can we come to know about columnObjectTypeId in the [**import API**](https://developers.hubspot.com/docs/api/crm/imports)?  
In a nutshell:  
1. Is there a way to list custom objects via API?  
2. Can we add/update data to those custom objects?  
3. Is there a need for us to enroll in the pilots’ program of custom objects if we are only looking to add/update more data in the custom objects and not create custom objects? Since we are a SaaS company, these features of loading data to custom objects would be used by multiple enterprises.

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [June 3, 2021, 8:27am UTC](https://community.hubspot.com/t/load-bulk-data-to-custom-objects-using-api/38193/4 "2021-06-03T08:27:52Z")

</div>

You can get all of the portal defined schema using this API - **/crm/v3/schemas**

And yes, you can create/update the custom objects.

And no, you don’t have to enroll in the pilot program, but I would recommend you to do that, to be updated with the latest features.

Best Regards,
