PDF hosting for developers

PDF to URL for apps and workflows

Upload an invoice, report, guide, or generated PDF and receive a public CDN URL your app can store and share.

Get free API key 1 provisional / 15 verified uploads/mo · no credit card

How to upload a PDF and get a URL

PDFs move between forms, billing systems, support tickets, and automation tools. FilePost turns the uploaded document into a stable HTTPS URL so the rest of your system can reference it without managing object storage.

PDFs are served inline by FilePost, which makes the returned URL suitable for a browser preview as well as a normal link. Keep the original filename private by default or choose public filename mode when human-readable paths are useful.

Upload pdf files with FilePost

Use the authenticated FilePost upload API for pdf files. The endpoint returns a JSON object containing the public URL, file ID, size, content type, and filename mode.

curl -X POST https://upload.filepost.dev/v1/upload \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "file=@invoice.pdf"

Example response

{
  "url": "https://cdn.filepost.dev/file/…",
  "file_id": "a1b2c3d4e5f6",
  "name": "invoice.pdf",
  "size": 84210,
  "content_type": "application/pdf"
}

What to do with the returned URL

Save the URL in your database, put it behind a document link, or pass it to the next workflow step.

<a href="https://cdn.filepost.dev/file/…">Open the PDF</a>

Good uses for pdf to URL

  • Invoice and report links
  • Generated PDFs from SaaS applications
  • Document attachments in automation workflows

Know the boundary

FilePost does not extract text, run OCR, redact pages, or convert documents to other formats. Add those processing steps before uploading or in a separate worker.

For the complete request and response contract, see the FilePost API documentation. You can also test the flow with the interactive upload on the homepage.

PDF to URL FAQ

Are PDF URLs permanent?

Authenticated FilePost uploads do not expire automatically. A URL remains available until you delete the file, configure expiry, or the account is terminated.

Can a browser preview the PDF URL?

Yes. PDFs are served inline by FilePost, so a browser can normally preview the document at the returned URL.

Can FilePost convert a PDF to text?

No. FilePost hosts the PDF and returns its URL. Use OCR or document-processing tooling separately when you need extracted text or transformed output.

Ready to turn pdf files into URLs?

Start free, make one API request, and keep the returned CDN URL in your app or workflow.

Get free API key 1 provisional / 15 verified uploads/mo · no credit card