Skip to main content
POST
/
api
/
v2
/
documents
/
{documentId}
/
unzip
Unzip file and return PDFs
curl --request POST \
  --url https://api.example.com/api/v2/documents/{documentId}/unzip
{
  "documents": [
    {
      "id": "<string>",
      "fileName": "<string>"
    }
  ]
}

Path Parameters

documentId
string
required

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

Response

Default Response

documents
object[]
required

The list of PDFs found in the ZIP file.