Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Lists → Get Lists

AI-generated

Overview

This node interacts with the Mastodon API to retrieve lists associated with a Mastodon account. It supports authentication via OAuth2 or an access token and allows users to specify the Mastodon instance URL. This operation is useful for scenarios where you want to manage or analyze Mastodon lists, such as fetching all lists a user has created or is subscribed to.

Use Case Examples

  1. Fetch all lists from a Mastodon account to display or process them in a workflow.
  2. Retrieve lists to analyze user groups or followers categorized in Mastodon lists.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.

Output

JSON

  • json - The JSON response containing the lists data retrieved from the Mastodon API.

Dependencies

  • Requires Mastodon API credentials, either OAuth2 or an access token.

Troubleshooting

  • Ensure the correct Mastodon URL is provided without trailing slashes to avoid connection issues.
  • If using OAuth2 authentication, make sure the OAuth2 credentials are properly configured and selected.
  • If using Access Token authentication, ensure the token is valid and has the necessary permissions.
  • Common error: 'No Mastodon Access Token credential selected' or 'No Mastodon OAuth2 credential selected' indicates missing or misconfigured credentials.
  • Authentication operations require OAuth2 credentials; selecting Access Token for such operations will cause errors.

Discussion