Cloudflare R2 + Foldr Integration
Cloudflare R2 is S3-compatible storage with zero egress fees. Combine with Foldr when you need R2's cost profile plus a public-facing short link with analytics.
How to Connect Cloudflare R2 to Foldr
Generate a Foldr API key
Sign in at foldr.space and create an API key at foldr.space/developers.
Authenticate with Cloudflare R2
Generate or locate your Cloudflare R2 API credentials per Cloudflare R2's documentation.
Wire the two APIs together
Write a small script or serverless function that calls Cloudflare R2, processes the result, and POSTs to https://foldr.space/api/v1/files (or /links for short links).
Deploy + schedule
Run the script on-demand, via a cron job, or trigger it from a webhook — the Foldr REST API has no client-library lock-in.
Common Use Cases
- Bridge Cloudflare R2-hosted files to Foldr for cleaner public URLs
- Use Foldr short links + analytics on top of files living in Cloudflare R2
- Mirror a Cloudflare R2 folder to Foldr on a schedule
- Replace Cloudflare R2's preview pages with Foldr's direct links for embedding
Cloudflare R2 + Foldr FAQ
How do I connect Foldr to Cloudflare R2?
You connect Foldr to Cloudflare R2 via REST API. Full steps are listed above under "How to Connect". In short: create a Foldr API key, configure the REST API integration pointed at https://foldr.space/api/v1/, and map Cloudflare R2's data into Foldr's request body.
Do I need a paid Foldr plan to use Cloudflare R2 with Foldr?
The Foldr free tier supports basic uploads via the API with 7-day expiry. For integration use with Cloudflare R2 — higher rate limits, permanent storage, multiple API keys, and webhook subscriptions — Foldr Pro (from $5/mo) is recommended.
What Foldr features can I call from Cloudflare R2?
From Cloudflare R2 you can invoke any Foldr action: uploading files (up to 2 GB each), creating short links, generating bio pages, creating hosted forms, and reading download analytics. See the Foldr API docs for the full endpoint list.
Is there an official Foldr app for Cloudflare R2?
Not a first-party app — Foldr integrates with Cloudflare R2 through REST API, which is usually a better fit because it doesn't require installing an extra app. If you'd rather have a native integration, let us know at foldr.space/contact.
Related Cloud Storage Integrations
Start connecting Cloudflare R2 to Foldr
Grab a Foldr API key and wire up the steps above — most teams get the first end-to-end flow running in under ten minutes.
Get your Foldr API key