Box

Box Uploads (Chunked) API

The chunked upload endpoints 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.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /files/upload_sessions Start a new file upload session · Create upload session #
Ask an LLM
“How do I start a new upload session for a file I'm about to upload?”
“What do I need to give to create an upload session for a new file?”
Tell an agent
Create an upload session for {file_name} of {file_size} bytes in folder {folder_id}.
Start a new file upload session for {file_name} in {folder_id} with size {file_size}.
POST /files/{file_id}/upload_sessions Create an upload session for a file · Create upload session for existing file #
Ask an LLM
“How do I resume an upload to a file that's already in Box?”
“Can I create an upload session for an existing file?”
Tell an agent
Create an upload session for file {file_id} of {file_size} bytes.
Start a new upload session for {file_name} of {file_size} bytes to file {file_id}.
GET /files/upload_sessions/{upload_session_id} Get an upload session · Get upload session #
Ask an LLM
“What is the status of an upload session I started?”
“Where do I get the upload URL for an upload session?”
Tell an agent
Get upload session {upload_session_id}.
Show the details of upload session {upload_session_id}.
PUT /files/upload_sessions/{upload_session_id} Upload a chunk of a file · Upload part of file #
Ask an LLM
“How do I upload a chunk of a file to an upload session?”
“Can I check a chunk's digest before uploading it?”
Tell an agent
Upload part {content_range} of upload session {upload_session_id} with digest {digest}.
Send chunk {content_range} for session {upload_session_id}, digest {digest}.
DELETE /files/upload_sessions/{upload_session_id} Abort an upload session · Remove upload session #
Ask an LLM
“Can I cancel an upload session and throw away everything I uploaded?”
“What happens if I abort an upload session?”
Tell an agent destructive · confirm first
Abort upload session {upload_session_id}.
Discard all uploaded data in session {upload_session_id}.
GET /files/upload_sessions/{upload_session_id}/parts List chunks uploaded to a session · List parts #
Ask an LLM
“Which chunks of my file have already been uploaded to an upload session?”
“Can I see the parts of an upload session so far?”
Tell an agent
List the parts of upload session {upload_session_id}.
Show chunks already uploaded to session {upload_session_id}.
POST /files/upload_sessions/{upload_session_id}/plan Plan an upload by checking cached parts · Plan upload session #
Ask an LLM
“Can I check which parts of a file already exist on the server before uploading?”
“How do I skip chunks that were already uploaded?”
Tell an agent
Plan upload session {upload_session_id} by checking parts {parts}.
Check which of parts {parts} already exist for session {upload_session_id}.
POST /files/upload_sessions/{upload_session_id}/commit Commit an upload session into a file · Commit upload session #
Ask an LLM
“How do I turn an upload session into a real file?”
“What digest do I send when committing an upload session?”
Tell an agent
Commit upload session {upload_session_id} with digest {digest} and parts {parts}.
Close session {upload_session_id} and create the file from parts {parts}, digest {digest}.

Documentation

📖
Documentation
https://developer.box.com/reference/get-authorize
📖
Documentation
https://developer.box.com/reference/post-oauth2-token
📖
Documentation
https://developer.box.com/reference/post-files-id-copy
📖
Documentation
https://developer.box.com/reference/post-file-requests-id-copy
📖
Documentation
https://developer.box.com/reference/post-folders-id-copy
📖
Documentation
https://developer.box.com/reference/post-folder-locks
📖
Documentation
https://developer.box.com/reference/post-metadata-templates-schema
📖
Documentation
https://developer.box.com/reference/post-metadata-cascade-policies
📖
Documentation
https://developer.box.com/reference/post-metadata-queries-execute-read
📖
Documentation
https://developer.box.com/reference/post-comments
📖
Documentation
https://developer.box.com/reference/post-collaborations
📖
Documentation
https://developer.box.com/reference/post-tasks
📖
Documentation
https://developer.box.com/reference/post-task-assignments
📖
Documentation
https://developer.box.com/reference/put-files-id--add-shared-link
📖
Documentation
https://developer.box.com/reference/put-folders-id--add-shared-link
📖
Documentation
https://developer.box.com/reference/post-web-links
📖
Documentation
https://developer.box.com/reference/put-web-links-id--add-shared-link
📖
Documentation
https://developer.box.com/reference/post-users
📖
Documentation
https://developer.box.com/reference/post-invites
📖
Documentation
https://developer.box.com/reference/post-groups
📖
Documentation
https://developer.box.com/reference/post-group-memberships
📖
Documentation
https://developer.box.com/reference/post-webhooks
📖
Documentation
https://developer.box.com/reference/post-files-id-metadata-global-boxSkillsCards
📖
Documentation
https://developer.box.com/reference/options-events
📖
Documentation
https://developer.box.com/reference/get-collections-id
📖
Documentation
https://developer.box.com/reference/get-recent-items
📖
Documentation
https://developer.box.com/reference/post-retention-policies
📖
Documentation
https://developer.box.com/reference/post-retention-policy-assignments
📖
Documentation
https://developer.box.com/reference/post-legal-hold-policies
📖
Documentation
https://developer.box.com/reference/post-legal-hold-policy-assignments
📖
Documentation
https://developer.box.com/reference/get-file-version-retentions-id
📖
Documentation
https://developer.box.com/reference/get-file-version-legal-holds-id
📖
Documentation
https://developer.box.com/reference/post-shield-information-barriers-change-status
📖
Documentation
https://developer.box.com/reference/post-shield-information-barrier-reports
📖
Documentation
https://developer.box.com/reference/post-shield-information-barrier-segments
📖
Documentation
https://developer.box.com/reference/post-shield-information-barrier-segment-members
📖
Documentation
https://developer.box.com/reference/post-shield-information-barrier-segment-restrictions
📖
Documentation
https://developer.box.com/reference/get-device-pinners-id
📖
Documentation
https://developer.box.com/reference/post-terms-of-services
📖
Documentation
https://developer.box.com/reference/post-terms-of-service-user-statuses
📖
Documentation
https://developer.box.com/reference/post-collaboration-whitelist-entries
📖
Documentation
https://developer.box.com/

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/box:box-uploads-chunked-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

box-uploads-chunked-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Box Platform Uploads (Chunked) API
  description: Box Platform provides functionality to provide access to content stored within Box. It provides endpoints for basic manipulation of files and folders, management of users within an enterprise, as well as more complex topics such as legal holds and retention policies.
  termsOfService: https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9
  contact:
    name: Box, Inc
    url: https://developer.box.com
    email: devrel@box.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: '2024.0'
  x-box-commit-hash: 53bdced3cd
servers:
- url: https://api.box.com/2.0
  description: Box Platform API server.
security:
- OAuth2Security: []
tags:


# --- truncated at 32 KB (99 KB total) ---
# Full source: https://artifacts.apis.io/box/openapi/box-uploads-chunked-api-openapi.yml