Set a PDF.co Output Link to Expire After Five Minutes in Make
In this tutorial, we will show you how to set the output file to expire after 5 minutes using PDF.co and Make.
Set the conversion request’s expiration parameter to 5 to request a five-minute lifetime for its temporary output.
This example converts a scanned PDF into a searchable PDF and sets its output expiration within the same request.

Step 1: Configure the PDF.co Request
Create a scenario in Make and add PDF.co — Make PDF.co API Call. Connect your PDF.co account using your API key.
Configure the module:
- API Endpoint Path:
/pdf/makesearchable - Method:
POST - Input Type: Override URL param with value
- URL: A direct URL to your scanned PDF that PDF.co can access.
- Output File Name:
searchable.pdf - Export Type: JSON Output
Under Body, add these key-value pairs:
- Key:
expiration— Value:5 - Key:
async— Value:false
For the option that forces asynchronous mode, select No, rely on the async parameter in Body. Keep any other input settings required for your document.
Use a small PDF for this synchronous test. For asynchronous processing, retain the returned job ID and confirm successful completion before using the output.
Step 2: Check the Completed Response
Click Run once. Check the PDF.co response for errors, then inspect the returned output URL and outputLinkValidTill timestamp.
Open the PDF while the link is valid. Confirm that its pages are readable and test searching for text from the source scan. Check that the returned expiry reflects the requested five-minute lifetime.
Step 3: Save Any Copy You Need to Retain
Download the PDF or upload it to your chosen storage before the temporary link expires. Complete downstream work promptly; do not wait five minutes before trying to retrieve the file.
Expiration of PDF.co’s temporary output does not delete copies already saved to Google Drive, Dropbox or another destination. Manage those copies separately under your own retention policy.
In this tutorial, you learned how to set the output file to expire after 5 minutes using Make.
Related Tutorials
