Mastodon + Foldr Integration
Mastodon is the decentralised Twitter alternative running on ActivityPub. Use Foldr to host larger media than most Mastodon instances allow, and link from your toots.
How to Connect Mastodon to Foldr
Generate a Foldr API key
Sign in at foldr.space and create an API key at foldr.space/developers.
Authenticate with Mastodon
Generate or locate your Mastodon API credentials per Mastodon's documentation.
Wire the two APIs together
Write a small script or serverless function that calls Mastodon, 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
- Link Foldr-hosted downloads from Mastodon posts
- Replace inline media on Mastodon with Foldr URLs when limits block you
- Gate a Mastodon article behind a Foldr form capture
- Track which Mastodon audience members convert on Foldr downloads
Mastodon + Foldr FAQ
How do I connect Foldr to Mastodon?
You connect Foldr to Mastodon 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 Mastodon's data into Foldr's request body.
Do I need a paid Foldr plan to use Mastodon with Foldr?
The Foldr free tier supports basic uploads via the API with 7-day expiry. For integration use with Mastodon — 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 Mastodon?
From Mastodon 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 Mastodon?
Not a first-party app — Foldr integrates with Mastodon 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 Publishing & Social Integrations
Medium + Foldr
Publishing & Social · via Webhook
DEV Community + Foldr
Publishing & Social · via REST API
Hashnode + Foldr
Publishing & Social · via REST API
LinkedIn + Foldr
Publishing & Social · via Zapier
Twitter / X + Foldr
Publishing & Social · via Zapier
Bluesky + Foldr
Publishing & Social · via REST API
Start connecting Mastodon 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