Skip to main content

Hi Box Team,

I have a question regarding how API calls are counted towards the license-based rate limit when downloading a file.

According to the File Download Guide, when I download a file, the SDK (or my app) first sends:

GET https://api.box.com/2.0/files/{file_id}/content

Then Box responds with a 302 redirect, and my client follows it by making:

GET https://dl.boxcloud.com/d/1/[long-random-string]/download

My questions are:

 

  1. How many API calls are counted towards the license-based rate limit in this scenario —

    just the initial GET /files/{file_id}/content request, or both the API request and the subsequent dl.boxcloud.com download request?

  2. If the initial API request results in a 429 (rate limit exceeded) response, does this 429 request itself count against the license-based API call allocation?

Thanks in advance for clarifying!

Be the first to reply!