Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to mute an account on a specified Mastodon instance. It allows users to mute notifications from the account and set a duration for the mute. This is useful for managing unwanted interactions or notifications from specific accounts on Mastodon, either indefinitely or for a set period.

Use Case Examples

  1. Muting a spam account to avoid notifications without unfollowing.
  2. Temporarily muting an account during an event or discussion to reduce noise.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to.
Account ID ID of the account to mute.
Mute Notifications Whether to mute notifications from the account as well.
Duration Number of seconds to mute for. 0 means indefinite.

Output

JSON

  • id - ID of the muted account or mute action.
  • muted - Boolean indicating if the account is muted.
  • notifications_muted - Boolean indicating if notifications are muted.
  • mute_duration - Duration in seconds for which the account is muted.

Dependencies

  • Requires Mastodon API access via OAuth2 credentials.

Troubleshooting

  • Ensure the Mastodon URL is correct and accessible.
  • Verify that the Account ID is valid and exists on the Mastodon instance.
  • Check that the OAuth2 credentials have the necessary permissions to mute accounts.
  • If the mute duration is set incorrectly, the mute may not apply as expected.

Links

Discussion