We are using the /bulk/v1/leads.json Lead Import REST API (documented at http://developers.marketo.com/documentation/rest/import-lead/). a
We use this API to upload CSV file. Does this alwasy count as a single API call? Or does is the count related to the number of leads we are importing?
There is no defined limit for the number of leads that can be imported through this call, but there is a file size limit of 10MB. There is also a limit of 10 bulk file imports that can be in the processing queue at a time.
This is only partially correct. The limit for rest bulk import is 10MB per call.
Thanks, but I was not asking about how many leads can be imported. I need to know how it is treated for counting against the 10K API calls in a day. If I import 1 lead with this API call or 50K leads, is it still treated as a single API call?
We are seeing some strange accounting in our daily API calls. I was assuming that this REST call is treated as a single API call, but our very high unexpected counts are leading me to believe that is not the case.
Every request you make to the endpoint will count as a single API call regardless of the number imported.
Yes, you get one file per call, no matter the number of leads in that file.