Habitica icon

Habitica

Habitica API

Overview

This node operation adds a checklist item to a specified task in Habitica. It is useful for users who want to programmatically manage their task checklists by adding new items with specific text and completion status. For example, a user can automate adding subtasks or steps to a task as checklist items, marking them as completed or not.

Use Case Examples

  1. Add a new checklist item with the text 'Buy ingredients' to a grocery shopping task.
  2. Mark a checklist item as completed when a step in a project task is done.

Properties

Name Meaning
Task The task to which the checklist item will be added. It can be selected from a list or specified by ID.
Checklist Item Text The text content of the checklist item to add to the task.
Completed Indicates whether the checklist item is marked as completed or not.

Output

JSON

  • id - The unique identifier of the newly created checklist item.
  • text - The text content of the checklist item.
  • completed - The completion status of the checklist item (true or false).

Dependencies

  • Requires an API key credential for Habitica API authentication.

Troubleshooting

  • Ensure the task ID is valid and exists in Habitica; otherwise, the request will fail.
  • Check that the API credentials are correctly configured and have the necessary permissions.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.

Discussion