Post and read statuses on a Mastodon instance from any Windmill script, flow or app.
Set up in 2 steps
1
Create an application
In Mastodon, open Preferences, then Development, and create a new application with the scopes you need. Copy its access token.
2
Add the resource in Windmill
Open Resources, add a resource of type mastodon, and fill baseUrl with your instance and token.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Resource type
The shape of the credential every script on this page expects.
mastodon
View raw schema →| Field | Type | Required | What it is |
|---|---|---|---|
| baseUrl | string | Yes | The URL of the Mastodon instance, like "https://mastodon.example.com". |
| token | string | No | An access token to act as a logged-in user. Leave this empty, if you want to perform unauthenticated requests. |
Questions
Do I need a token to read?
Not always — public timelines answer unauthenticated requests. Posting always needs one.
Is my token stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.