Custom Object Limits using API | Community
Skip to main content
Darshil_Shah1
Community Manager
August 11, 2020
Solved

Custom Object Limits using API

  • August 11, 2020
  • 1 reply
  • 3044 views

Is there any capping on the maximum number of records that could be added in a Custom Object in a single POST API call (/rest/v1/customobjects/{name}.json) for any kind of marketo subscription (Licensed/Sandbox)?

Also I have the same question for the retrieval of the custom object records using the same endpoint (rest/v1/customobjects/{name}.json) - GET Method. Thanks 🙂

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Amit_Jain

I think you are referring to the following endpoint when you say you are trying to retrieve the records:

https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Custom_Objects/getCustomObjectsUsingGET

 

If so, it will return you 300 records max in one go.

 

Unfortunately, there is no bulk extract API support for custom objects.

 

For creating records, in the official document they haven't mentioned any limit but I would wonder if you can pass more than 300 records in one batch. If you have lots of data to input in Marketo, I would suggest to look at the bulk import API for custom object here:
https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Bulk_Import_Custom_Objects/importCustomObjectUsingPOST

There are some limits for bulk import:

  • Max Concurrent Import Jobs: 2
  • Max Queued Import Jobs (inclusive of currently importing jobs): 10
  • Max Size of Import File: 10 MB

1 reply

Amit_Jain
Amit_JainAccepted solution
Community Manager
August 11, 2020

I think you are referring to the following endpoint when you say you are trying to retrieve the records:

https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Custom_Objects/getCustomObjectsUsingGET

 

If so, it will return you 300 records max in one go.

 

Unfortunately, there is no bulk extract API support for custom objects.

 

For creating records, in the official document they haven't mentioned any limit but I would wonder if you can pass more than 300 records in one batch. If you have lots of data to input in Marketo, I would suggest to look at the bulk import API for custom object here:
https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Bulk_Import_Custom_Objects/importCustomObjectUsingPOST

There are some limits for bulk import:

  • Max Concurrent Import Jobs: 2
  • Max Queued Import Jobs (inclusive of currently importing jobs): 10
  • Max Size of Import File: 10 MB
Darshil_Shah1
Community Manager
August 11, 2020

Thanks Amit this helps. Since its not mentioned in the docs wrt no. Of records I believe for the POST request the capping would be based on the size of payload data and not the record counts.