Mastodon

Communication Instance URL and access token Windmill docs

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.

Submit a script →

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
baseUrlstringYesThe URL of the Mastodon instance, like "https://mastodon.example.com".
tokenstringNoAn 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.