> ## 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.

# Supported APIs for Box Archive

export const MultiRelatedLinks = ({sections = []}) => {
  if (!sections || sections.length === 0) {
    return null;
  }
  return <div className="space-y-8">
      {sections.map((section, index) => <RelatedLinks key={index} title={section.title} items={section.items} />)}
    </div>;
};

export const RelatedLinks = ({title, items = []}) => {
  const getBadgeClass = badge => {
    if (!badge) return "badge-default";
    const badgeType = badge.toLowerCase().replace(/\s+/g, "-");
    return `badge-${badge === "ガイド" ? "guide" : badgeType}`;
  };
  if (!items || items.length === 0) {
    return null;
  }
  return <div className="my-8">
      {}
      <h3 className="text-sm font-bold uppercase tracking-wider mb-4">{title}</h3>

      {}
      <div className="flex flex-col gap-3">
        {items.map((item, index) => <a key={index} href={item.href} className="py-2 px-3 rounded related_link hover:bg-[#f2f2f2] dark:hover:bg-[#111827] flex items-center gap-3 group no-underline hover:no-underline border-b-0">
            {}
            <span className={`px-2 py-1 rounded-full text-xs font-semibold uppercase tracking-wide flex-shrink-0 ${getBadgeClass(item.badge)}`}>
              {item.badge}
            </span>

            {}
            <span className="text-base">{item.label}</span>
          </a>)}
      </div>
    </div>;
};

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

The basic Box Archive APIs allow you to create, list, update and delete archives, but you can use other APIs to interact with an archive or its content.
See the table below for the full list of those APIs.

<Note>
  Those APIs require the <Link href="/guides/api-calls/permissions-and-errors/scopes/#global-content-manager-gcm">`GCM` scope</Link> to be enabled in your application.
  This scope is not available in the Developer Console and needs to be enabled by contacting customer support.

  Additionally, some of the below APIs need to be enabled by contacting customer support to properly work with Box Archive.
  When contacting customer support, specify the user ID you plan to use those APIs with.
</Note>

| API Endpoint                                                                                                                          | Description                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <Link href="/reference/v2025.0/post-archives/">`POST /archives`</Link>                                                                | Create an archive.                                                                                                                                                                                                                                                |
| <Link href="/reference/v2025.0/get-archives/">`GET /archives`</Link>                                                                  | List all archives.                                                                                                                                                                                                                                                |
| <Link href="/reference/v2025.0/put-archives-id/">`PUT /archives/:id`</Link>                                                           | Update an archive.                                                                                                                                                                                                                                                |
| <Link href="/reference/v2025.0/delete-archives-id/">`DELETE /archives/:id`</Link>                                                     | Delete an archive.                                                                                                                                                                                                                                                |
| <Link href="/reference/put-files-id">`PUT /files/:id`</Link>                                                                          | Add a file to an archive, restore a file from an archive, or move a file within/between archives. Other updates to the file are not allowed. Requires contacting customer support to enable.                                                                      |
| <Link href="/reference/put-folders-id">`PUT /folders/:id`</Link>                                                                      | Add a folder to an archive, restore a folder from an archive, move a folder within/between archives, or rename and change the description of a folder in an archive. Other updates to the folder are not allowed. Requires contacting customer support to enable. |
| <Link href="/reference/post-files-content">`POST /files/content`</Link>                                                               | Upload a file to an archive or to a folder within an archive. Requires contacting customer support to enable.                                                                                                                                                     |
| <Link href="/reference/get-files-id-content">`GET /files/:id/content`</Link>                                                          | Download a file from an archive or from a folder within an archive.                                                                                                                                                                                               |
| <Link href="/reference/post-zip-downloads">`POST /zip_downloads`</Link>                                                               | Download a zip file of an archive or of a folder within an archive.                                                                                                                                                                                               |
| <Link href="/reference/post-folders">`POST /folders`</Link>                                                                           | Create a folder within an archive. Requires contacting customer support to enable.                                                                                                                                                                                |
| <Link href="/reference/get-files-id">`GET /files/:id`</Link>                                                                          | Get details of a file within an archive.                                                                                                                                                                                                                          |
| <Link href="/reference/get-folders-id">`GET /folders/:id`</Link>                                                                      | Get details of an archive or of a folder within an archive.                                                                                                                                                                                                       |
| <Link href="/reference/get-folders-id-items">`GET /folders/:id/items`</Link>                                                          | List items within an archive or items in a folder within an archive.                                                                                                                                                                                              |
| <Link href="/reference/post-files-id-copy">`POST /files/:id/copy`</Link>                                                              | Copy a file to an archive.                                                                                                                                                                                                                                        |
| <Link href="/reference/post-folders-id-copy">`POST /folders/:id/copy`</Link>                                                          | Copy a folder to an archive.                                                                                                                                                                                                                                      |
| <Link href="/reference/delete-files-id">`DELETE /files/:id`</Link>                                                                    | Permanently delete a file within an archive.                                                                                                                                                                                                                      |
| <Link href="/reference/delete-folders-id">`DELETE /folders/:id`</Link>                                                                | Permanently delete a folder within an archive. Requires contacting customer support to enable.                                                                                                                                                                    |
| <Link href="/reference/post-files-id-metadata-id-id">`POST /files/:id/metadata/:scope/:template_key`</Link>                           | Create a metadata instance attached to a file within an archive.                                                                                                                                                                                                  |
| <Link href="/reference/get-files-id-metadata-id-id">`GET /files/:id/metadata/:scope/:template_key`</Link>                             | View a metadata instance attached to a file within an archive.                                                                                                                                                                                                    |
| <Link href="/reference/get-files-id-metadata">`GET /files/:id/metadata`</Link>                                                        | List all metadata instances attached to a file within an archive.                                                                                                                                                                                                 |
| <Link href="/reference/put-files-id-metadata-id-id">`PUT /files/:id/metadata/:scope/:template_key`</Link>                             | Update a metadata instance attached to a file within an archive.                                                                                                                                                                                                  |
| <Link href="/reference/delete-files-id-metadata-id-id">`DELETE /files/:id/metadata/:scope/:template_key`</Link>                       | Delete a metadata instance attached to a file within an archive.                                                                                                                                                                                                  |
| <Link href="/reference/post-files-id-metadata-enterprise-securityClassification-6VMVochwUWo">`POST securityClassification`</Link>     | Create a classification label for a file within an archive.                                                                                                                                                                                                       |
| <Link href="/reference/get-files-id-metadata-enterprise-securityClassification-6VMVochwUWo">`GET securityClassification`</Link>       | View a classification label of a file within an archive.                                                                                                                                                                                                          |
| <Link href="/reference/put-files-id-metadata-enterprise-securityClassification-6VMVochwUWo">`PUT securityClassification`</Link>       | Update a classification label for a file within an archive.                                                                                                                                                                                                       |
| <Link href="/reference/delete-files-id-metadata-enterprise-securityClassification-6VMVochwUWo">`DELETE securityClassification`</Link> | Delete a classification label from a file within an archive.                                                                                                                                                                                                      |

<RelatedLinks
  title="RELATED RESOURCES"
  items={[
{ label: translate("Archive"), href: "/reference/v2025.0/resources/archive", badge: "REFERENCE" }
]}
/>
