Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Lists → Create List

AI-generated

Overview

This node operation allows users to create a new list on a Mastodon instance. It is useful for organizing and managing groups of accounts within Mastodon, such as creating a list of favorite accounts or categorizing followed users. For example, a user can create a list titled 'Tech News' to follow only technology-related accounts.

Use Case Examples

  1. Create a list named 'Friends' to group personal contacts.
  2. Create a list named 'Work' to follow professional accounts separately.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Authentication Type The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Title The title of the list to be created, e.g., 'Friends' or 'Work'.
Replies Policy Determines which replies to show within the list. Options include 'Followed' (show replies from followed accounts), 'List' (show replies from accounts in the list), or 'None' (show no replies).
Exclusive Boolean flag indicating whether members of this list are removed from the Home feed (true) or not (false).

Output

JSON

  • id - The unique identifier of the created list.
  • title - The title of the created list.
  • replies_policy - The replies policy set for the list.
  • exclusive - Whether the list is exclusive, removing members from the Home feed.

Dependencies

  • Requires authentication credentials for the Mastodon instance, either OAuth2 or an Access Token.

Troubleshooting

  • If authentication credentials are missing or incorrect, the node will throw an error indicating no credential selected or invalid authentication.
  • If the resource or operation is not implemented or incorrectly specified, an error will be thrown indicating the operation is not implemented.
  • Ensure the Mastodon URL is correctly formatted without trailing slashes to avoid connection issues.

Discussion