Generating a Token on Mastodon

Making use of the powerful Mastodon API, but first, generate an Access Token.

Generating a Token on Mastodon
Settings page, Mastodon.SG

Mastodon is very flexible and useful, there are plenty of APIs available to play around with. To make use of most of the APIs, you'll need to generate a token and grant specific permissions to it.

Here's how you do it:

  1. Login to your Mastodon instance, ie. https://mastodon.sg
  2. Go to Preference -> Development, click on New Application.
  3. Enter the name of the Application and modify the scopes required.
    *It is highly not recommended to give read:all or write:all
  4. Submit it then click on the name of the Application you've just created.
  5. You'll be able to copy the Access Token here.
💡
Remember to keep your Access Token safe. Generate a new one if you think it's been compromised or if you've modified the Scopes.