Authentication
Requires an API key withapplications:read scope. The application must belong to the organization associated with the API key.
Path parameters
UUID of the application.
UUID of the document.
Response
Returns200 OK with a presigned download URL.
Presigned S3 URL valid for 1 hour. Use this to download the file directly.
Original file name.
MIME type of the file (e.g.,
application/pdf, image/jpeg).Examples
Errors
| Status | Error | Cause |
|---|---|---|
401 | Invalid API key | API key is invalid, expired, or inactive |
401 | API key missing required scopes: applications:read | Key lacks the required scope |
404 | Application not found | Application does not exist or belongs to a different organization |
404 | Document not found | Document does not exist or does not belong to this application |
500 | Internal server error | An unexpected error occurred |
