SOLVED

Custom Object Limits using API

Go to solution
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Custom Object Limits using API

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 🙂

 

1 ACCEPTED SOLUTION

Accepted Solutions
Amit_Jain
Level 8 - Community Advisor

Re: Custom Object Limits using API

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/#!/Custo...

 

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

Screenshot 2020-08-11 at 11.35.13 PM.png

 

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_...

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

View solution in original post

2 REPLIES 2
Amit_Jain
Level 8 - Community Advisor

Re: Custom Object Limits using API

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/#!/Custo...

 

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

Screenshot 2020-08-11 at 11.35.13 PM.png

 

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_...

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
Level 10 - Community Advisor + Adobe Champion

Re: Custom Object Limits using API

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.