Extract

Extract source code in a zip file

Initiate an asynchronous extraction of source code files in the HubSpot CMS. This endpoint is useful for handling large file extractions without blocking the client application. Upon acceptance, it returns a task locator that can be used to check the status of the extraction process.

post/cms/source-code/2026-03/extract/async

Request body

pathstring required

The file system location where the zip file is to be extracted.

Response

accepted

idstring required

The unique identifier for the task.

linksobject

A collection of link names mapped to their corresponding URIs.

Changes