Documents
Download One or More Documents
Changed onDownload one or more documents by token. Requires the READ_DOCUMENTS permission. A single document is returned as application/octet-stream; multiple documents are returned as a application/zip archive named documents.zip.
get/documents/download
Request
- Base URLhttps://sandbox.alloy.co/v1
- Auth
- OAuth 2Client credentialsToken URL/oauth/bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
document_tokensstring required
Example:["D-abc123","D-def456"]
JSON-encoded array of document tokens, e.g. ["D-abc123","D-def456"].
Response
The requested document(s) as a file stream
Changes
- info
endpoint added
- info