A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
Creates an archive.
To learn more about the archive APIs, see the Archive API Guide.
Version header.
Value is always 2025.0
"This is an archive for important documents."The description of the archive.
"Some Archive"The name of the archive.
"100001"The ID of the storage policy that the archive is assigned to.
Returns a new archive object.
Returned when some of the parameters are missing or not valid.
Returned when the access token provided in the Authorization header
is not recognized or not provided.
Returned when the authenticated user does not have the right permissions to create an archive.
Returned when an archive with the given name already exists.
Returned when an unexpected server error occurs.
Returned when an unexpected client error occurs.
curl -i -X POST "https://api.box.com/2.0/archives" \
-H "box-version: 2025.0" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H "content-type: application/json" \
-d '{
"name": "Some Archive Name",
"description": "Some Archive Description"
}'await client.archives.createArchiveV2025R0({
name: archiveName,
description: archiveDescription,
} satisfies CreateArchiveV2025R0RequestBody);client.archives.create_archive_v2025_r0(archive_name, description=archive_description)await client.Archives.CreateArchiveV2025R0Async(requestBody: new CreateArchiveV2025R0RequestBody(name: archiveName) { Description = archiveDescription });try await client.archives.createArchiveV2025R0(requestBody: CreateArchiveV2025R0RequestBody(name: archiveName, description: archiveDescription))client.getArchives().createArchiveV2025R0(new CreateArchiveV2025R0RequestBody.Builder(archiveName).description(archiveDescription).build()){
"id": "12345",
"type": "archive",
"description": "This is an archive for important documents.",
"name": "Archive",
"owned_by": {
"id": "12345",
"type": "user"
},
"size": 123456789
}