Download a port document
port_download_documentRetrieve a port document's raw bytes by providing the request UUID and document ID. Get document IDs from the port list documents endpoint to download files like PDFs.
Instructions
Download one port document's raw bytes (Content-Type mirrors the stored document). Get document IDs from port_list_documents. Note: binary content (e.g. PDF) is returned inline and may not be readable as text. Errors (JSON): NOT_FOUND, TNIQ_VALIDATION, TNIQ_ERROR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Port request UUID (from port_list_requests or port_create_request) | |
| doc_id | Yes | Document ID (from port_list_documents) |