Join us on May 20th for the Content + AI Virtual Summit. Register now
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"
}'{
"id": "12345",
"type": "archive",
"name": "Archive",
"size": 123456789,
"description": "This is an archive for important documents.",
"owned_by": {
"id": "12345",
"type": "user"
}
}Creates an archive.
To learn more about the archive APIs, see the Archive API Guide.
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"
}'{
"id": "12345",
"type": "archive",
"name": "Archive",
"size": 123456789,
"description": "This is an archive for important documents.",
"owned_by": {
"id": "12345",
"type": "user"
}
}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.
The access token received from the authorization server in the OAuth 2.0 flow.
Version header.
2025.0 Returns a new archive object.
An archive is a folder dedicated to storing content that is redundant, outdated, or trivial. Content in an archive is not accessible to its owner and collaborators. To use this feature, you must request GCM scope for your Box application.
The unique identifier that represents an archive.
"12345"
The value is always archive.
archive "archive"
The name of the archive.
The following restrictions to the archive name apply: names containing non-printable ASCII characters, forward and backward slashes (/, \), names with trailing spaces, and names . and .. are not allowed.
1 - 100"Archive"
The size of the archive in bytes.
123456789
The description of the archive.
255"This is an archive for important documents."
The part of an archive API response that describes the user who owns the archive.
Show child attributes
{ "id": "12345", "type": "user" }Was this page helpful?