POST
/
api
/
v2
/
documents
/
{documentId}
/
unzip
import os
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key=os.environ.get("SAMPLEHC_API_KEY"),  # This is the default and can be omitted
)
response = client.v2.documents.unzip(
    "documentId",
)
print(response.documents)
{
  "documents": [
    {
      "id": "<string>",
      "fileName": "<string>"
    }
  ]
}

Path Parameters

documentId
string
required

The ID of the document to unzip. Must be a ZIP file.

Response

200
application/json

Default Response

The response is of type object.