post https://api.staging.hint.com/api/provider/customer_invoices//pdf
Usage Instructions and Security Best Practices
- Link Expiration: Links expire after 15 minutes.
- Authenticate Users: Only generate pdf links for authenticated users.
- On-Demand Links: Generate the link only when a user requests to view or download a pdf.
- New Windows/Tabs: Automatically redirect users to the URL provided, instead of showing them the link
directly. - Avoid Caching: Do not cache or store pdf links in your application.
- Avoid Email Transmission: Never send pdf links via email due to link expiry and security concerns.
Example Workflow
- Request Access: User logs into your system and requests to view a pdf.
- Generate Link: Your system makes a POST request to the pdf endpoint.
- Provide Link: Your application receives the URL and automatically redirects the user to the URL in a new
window or tab.