# Can I create custom objects in batch?

**URL:** <https://community.hubspot.com/t/can-i-create-custom-objects-in-batch/89466>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [September 12, 2023, 2:54pm UTC](https://community.hubspot.com/t/can-i-create-custom-objects-in-batch/89466 "2023-09-12T14:54:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HKamminga](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@HKamminga](https://community.hubspot.com/u/HKamminga)\
**Post date:** [September 12, 2023, 2:54pm UTC](https://community.hubspot.com/t/can-i-create-custom-objects-in-batch/89466/1 "2023-09-12T14:54:38Z")

</div>

Hi!

I have perused the documentation but am having trouble finding examples of creating custom objects in batch.

Basically, to save on requests, I would really prefer sending one request that creates 100 custom objects than sending 100 requests as I worry that would hit the rate limiter. If this is possible, is there any resource you could point me to?

Thanks!

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [September 12, 2023, 11:29pm UTC](https://community.hubspot.com/t/can-i-create-custom-objects-in-batch/89466/2 "2023-09-12T23:29:30Z")

</div>

Hi @HKamminga 👋

I’m assuming you’d like to create a batch of custom object **records** (e.g. if your custom object was called “Cats”, you want to create 100 individual “Cat” records), as opposed to creating up to 100 custom object **types/definitions** in a single request. Is that correct?

If so, it should be as simple as:

- **POST** [https://api.hubapi.com/crm/v3/objects/\*\*:OBJECT\_TYPE\*\*/batch/create](https://api.hubapi.com/crm/v3/objects/ **:OBJECT%5C_TYPE** /batch/create)

- **Headers** :

- **Example Body (JSON)**:

```lia-code-sample
{
 "inputs": [
 {
 "properties": {
 "example_property_1": "Example 1",
 "example_property_2": "Example 2"
 }
 },
 {
 "properties": {
 "example_property_1": "Example 3",
 "example_property_2": "Example 4"
 }
 }
 ]
}

```

The official HubSpot API documentation can be found [here](https://developers.hubspot.com/docs/api/crm/crm-custom-objects). Navigate to the _“Objects”_ tab, then scroll down until you see _“Create a batch of objects”_. The example in the documentation is not particularly clear, but hopefully you’ll be on the right path now.

I hope this proves useful. Please let me know if you have any follow-up questions.
