Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Notifications → Dismiss Notification

AI-generated

Overview

This node interacts with the Mastodon API to dismiss a specific notification. It is useful in scenarios where users want to programmatically manage their Mastodon notifications, such as clearing or dismissing notifications automatically based on certain triggers or workflows. For example, a user can automate the dismissal of notifications after they have been processed or logged elsewhere.

Use Case Examples

  1. Automatically dismiss a notification after reading it in a workflow.
  2. Clear specific notifications based on their ID to keep the notification list clean.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, used to specify which Mastodon server the node will interact with.
Authentication Type Method of authentication with the Mastodon instance, either OAuth2 or Access Token.
Notification ID ID of the notification to dismiss, required to specify which notification should be dismissed.

Output

JSON

  • json - The JSON response from the Mastodon API after dismissing the notification, typically confirming the dismissal or providing the updated notification state.

Dependencies

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

Troubleshooting

  • Error if no valid Mastodon credentials are selected; ensure correct OAuth2 or token credentials are configured.
  • Error if the notification ID is missing or invalid; ensure the ID corresponds to an existing notification.
  • Authentication operations require OAuth2 credentials; selecting Access Token for authentication type will cause an error for authentication resource operations.

Discussion