Habitica icon

Habitica

Habitica API

Overview

This node operation deletes a specific chat message within a selected group in the Habitica platform. It is useful for managing and moderating group chat content by removing unwanted or outdated messages. For example, a user can automate the deletion of messages that contain inappropriate content or are no longer relevant.

Use Case Examples

  1. Delete a chat message by specifying the group and message ID to keep the group chat clean and relevant.
  2. Automate the removal of spam messages from a Habitica group chat.

Properties

Name Meaning
Group Select the group from which the chat message will be deleted. This can be done by choosing from a list or entering the group ID manually.
Message ID The unique identifier of the chat message to be deleted.
Request Options Additional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • success - Indicates whether the chat message was successfully deleted.
  • messageId - The ID of the deleted chat message.

Dependencies

  • Habitica API with an API key credential

Troubleshooting

  • Ensure the group ID is correctly formatted as a UUID to avoid validation errors.
  • Verify that the message ID exists and belongs to the specified group to prevent deletion failures.
  • Check network settings if using a proxy or if SSL issues occur, especially when 'Ignore SSL Issues' is disabled.
  • Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.

Links

Discussion