> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Uploads

export const Link = ({href, children, className, ...props}) => {
  const localizedHref = href;
  return <a href={localizedHref} className={className} {...props}>
      {children}
    </a>;
};

The Box API supports two distinct methods of file upload. The <Link href="/guides/uploads/direct">direct file
upload API</Link> supports files up to 50MB in size and sends all the binary
data to the Box API in 1 API request.

The <Link href="/guides/uploads/chunked">chunked upload APIs</Link> support files from 20MB in size and allow an
application to upload the file in parts, allowing for more control to catch any
errors and retry parts individually.

<Tip>
  To upload files to the Archive folder, you need to first enable the <Link href="/guides/api-calls/permissions-and-errors/scopes">Global
  Content Manager</Link> (GCM) scope in the Developer Console.
</Tip>

## Upload limits

Upload limits are dictated by the type of account of the authenticated user.
More information can be found <Link href="https://support.box.com/hc/en-us/articles/360043697314-Understand-the-Maximum-File-Size-You-Can-Upload-to-Box">in our product documentation on this topic</Link>.

## Preflight check

The Pre-flight check API allows an application to verify that a file will be
accepted by Box before it uploads any bytes. It can both be used for new files,
as well as uploading new versions of existing files.

<Card href="/guides/uploads/check" arrow title="Learn more about pre-flight checks" />

## Upload domain

Uploads to Box happen via a different domain (`upload.box.com`) than regular API
calls. This is something to keep in mind when writing your own upload code. All
the Box SDKs will take care of choosing the right domain for the right API call.

[fsizes]: https://support.box.com/hc/en-us/articles/360043697314-Understand-the-Maximum-File-Size-You-Can-Upload-to-Box
