get
https://api.anduin.app/api/v1/fundsub/files//url
Generates a temporary URL for accessing documents such as subscription agreements, AML/KYC documents, or other supporting files from orders you have access to.
The fileId can be obtained from:
- The getOrder GraphQL query
- The GetOrdersSubscriptionDocs REST API endpoint
The returned URL is a pre-signed URL with a 10-minute expiry. The URL can be used to:
- Download file content programmatically in your backend system for processing or storage
- Provide a download link to end users allowing them to save the file to their device
- Display the file inline in a browser (for supported file types like PDF and images) by using
content-disposition=inline
Attempts to use the URL after the expiry time will result in an AccessDenied error.