curl --request POST \
--url https://api.hubapi.com/cms/v3/source-code/extract/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "<string>"
}
'{
"id": "<string>",
"links": {}
}Extract a zip file in the developer file system. Extraction status can be checked with the /extract/async/tasks/taskId/status endpoint below.
curl --request POST \
--url https://api.hubapi.com/cms/v3/source-code/extract/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "<string>"
}
'{
"id": "<string>",
"links": {}
}Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The file system location where the zip file is to be extracted.
Was this page helpful?