File Download API
Download APIs
File Download API
Retrieve documents for a specific vendor by its identifier
File Download API
Documentation Index
Fetch the complete documentation index at: https://docs.pazy.io/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All requests require an API key in the request headers. Headers:Request
Content-Type:application/json
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
resourceType | string | Yes | The resource type of the file |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fileKey | string | Yes | The unique key of the file |
Code Examples
Success Response
HTTP Status:200 OK
Response Fields:
You will get your file as data in response.
Error Responses
Missing Resource Type
HTTP Status:400 Bad Request
File Not Found
HTTP Status:404 Not Found
Access Denied
HTTP Status:403 Forbidden
Authentication Errors
HTTP Status:401 Unauthorized
Permission Errors
HTTP Status:403 Forbidden
Best Practices
Access Control
- Only resource you created or where you are the owner are accessible (unless you have admin or auditor role)
- Use downloadUrl you get from documents API as a API endpoint right here.