↼ Field Notes

Cover image for Generating a Token on Mastodon

Generating a Token on Mastodon

Published 10 February 2023 · 1 min read

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 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.

Image

💡 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.


← Mastodon v4.1.0 is out!
How to setup WordPress on … →