> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# habitica-user

> Habitica User - profile, stats, inventory, purchases, and settings

**Server path:** `/habitica-user` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                                          | Description                                              |
| ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| [`habitica_user_create_cron`](#habitica_user_create_cron)                                                                     | Run cron                                                 |
| [`habitica_user_create_notifications_by_notification_id_read`](#habitica_user_create_notifications_by_notification_id_read)   | Mark Notification as Read                                |
| [`habitica_user_create_notifications_by_notification_id_see`](#habitica_user_create_notifications_by_notification_id_see)     | Mark Notification as Seen                                |
| [`habitica_user_create_notifications_read`](#habitica_user_create_notifications_read)                                         | Mark Notifications as Read                               |
| [`habitica_user_create_notifications_see`](#habitica_user_create_notifications_see)                                           | Mark Notifications as Seen                               |
| [`habitica_user_create_user_allocate`](#habitica_user_create_user_allocate)                                                   | Allocate a single Stat Point                             |
| [`habitica_user_create_user_allocate_bulk`](#habitica_user_create_user_allocate_bulk)                                         | Allocate multiple Stat Points                            |
| [`habitica_user_create_user_allocate_now`](#habitica_user_create_user_allocate_now)                                           | Allocate all Stat Points                                 |
| [`habitica_user_create_user_block_by_uuid`](#habitica_user_create_user_block_by_uuid)                                         | Block / unblock a user from sending you a PM             |
| [`habitica_user_create_user_buy_armoire`](#habitica_user_create_user_buy_armoire)                                             | Buy Enchanted Armoire                                    |
| [`habitica_user_create_user_buy_by_key`](#habitica_user_create_user_buy_by_key)                                               | Buy gear, armoire or potion                              |
| [`habitica_user_create_user_buy_gear_by_key`](#habitica_user_create_user_buy_gear_by_key)                                     | Buy a piece of gear                                      |
| [`habitica_user_create_user_buy_health_potion`](#habitica_user_create_user_buy_health_potion)                                 | Buy a health potion                                      |
| [`habitica_user_create_user_buy_mystery_set_by_key`](#habitica_user_create_user_buy_mystery_set_by_key)                       | Buy a Mystery Item set                                   |
| [`habitica_user_create_user_buy_quest_by_key`](#habitica_user_create_user_buy_quest_by_key)                                   | Buy a quest with gold                                    |
| [`habitica_user_create_user_buy_special_spell_by_key`](#habitica_user_create_user_buy_special_spell_by_key)                   | Buy special item (card, avatar transformation)           |
| [`habitica_user_create_user_change_class`](#habitica_user_create_user_change_class)                                           | Change the class of the authenticated user               |
| [`habitica_user_create_user_class_cast_by_spell_id`](#habitica_user_create_user_class_cast_by_spell_id)                       | Cast a skill (spell) on yourself or a target             |
| [`habitica_user_create_user_custom_day_start`](#habitica_user_create_user_custom_day_start)                                   | Set Custom Day Start time for user                       |
| [`habitica_user_create_user_disable_classes`](#habitica_user_create_user_disable_classes)                                     | Disable Classes                                          |
| [`habitica_user_create_user_mark_pms_read`](#habitica_user_create_user_mark_pms_read)                                         | Mark Private Messages as read                            |
| [`habitica_user_create_user_open_mystery_item`](#habitica_user_create_user_open_mystery_item)                                 | Open the Mystery Item box                                |
| [`habitica_user_create_user_purchase_by_type_by_key`](#habitica_user_create_user_purchase_by_type_by_key)                     | Purchase Gem or Gem-purchasable item                     |
| [`habitica_user_create_user_purchase_hourglass_by_type_by_key`](#habitica_user_create_user_purchase_hourglass_by_type_by_key) | Purchase Hourglass-purchasable item                      |
| [`habitica_user_create_user_read_card_by_card_type`](#habitica_user_create_user_read_card_by_card_type)                       | Read a card                                              |
| [`habitica_user_create_user_rebirth`](#habitica_user_create_user_rebirth)                                                     | Use Orb of Rebirth on user                               |
| [`habitica_user_create_user_reroll`](#habitica_user_create_user_reroll)                                                       | Reroll user stats                                        |
| [`habitica_user_create_user_reset`](#habitica_user_create_user_reset)                                                         | Reset user                                               |
| [`habitica_user_create_user_revive`](#habitica_user_create_user_revive)                                                       | Revive user from death                                   |
| [`habitica_user_create_user_sell_by_type_by_key`](#habitica_user_create_user_sell_by_type_by_key)                             | Sell a gold-sellable item owned by the user              |
| [`habitica_user_create_user_sleep`](#habitica_user_create_user_sleep)                                                         | Make the user start / stop sleeping (resting in the Inn) |
| [`habitica_user_create_user_unequip_by_type`](#habitica_user_create_user_unequip_by_type)                                     | Unequip all items by type                                |
| [`habitica_user_create_user_unlock`](#habitica_user_create_user_unlock)                                                       | Unlock item or set of items by purchase                  |
| [`habitica_user_create_user_webhook`](#habitica_user_create_user_webhook)                                                     | Create user webhook                                      |
| [`habitica_user_delete_messages`](#habitica_user_delete_messages)                                                             | Delete all messages                                      |
| [`habitica_user_delete_messages_by_id`](#habitica_user_delete_messages_by_id)                                                 | Delete User Message                                      |
| [`habitica_user_delete_user`](#habitica_user_delete_user)                                                                     | Delete User Account \[Danger]                            |
| [`habitica_user_delete_webhook_by_id`](#habitica_user_delete_webhook_by_id)                                                   | Delete a webhook                                         |
| [`habitica_user_get_anonymized`](#habitica_user_get_anonymized)                                                               | Get anonymized user data                                 |
| [`habitica_user_get_inbox_messages`](#habitica_user_get_inbox_messages)                                                       | Get Inbox Messages                                       |
| [`habitica_user_get_purchase_history`](#habitica_user_get_purchase_history)                                                   | Get user purchase history                                |
| [`habitica_user_get_user`](#habitica_user_get_user)                                                                           | Get user information                                     |
| [`habitica_user_get_webhook`](#habitica_user_get_webhook)                                                                     | Get user webhooks                                        |
| [`habitica_user_update_user`](#habitica_user_update_user)                                                                     | Update the user                                          |
| [`habitica_user_update_user_auth_update_email`](#habitica_user_update_user_auth_update_email)                                 | Update email                                             |
| [`habitica_user_update_user_auth_update_password`](#habitica_user_update_user_auth_update_password)                           | Update password                                          |
| [`habitica_user_update_user_auth_update_username`](#habitica_user_update_user_auth_update_username)                           | Update User's Username                                   |
| [`habitica_user_update_user_webhook_by_id`](#habitica_user_update_user_webhook_by_id)                                         | Edit a webhook                                           |

***

## habitica\_user\_create\_cron

Run cron

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_notifications\_by\_notification\_id\_read

Mark Notification as Read

**Parameters:**

| Parameter        | Type   | Required | Default | Description                                 |
| ---------------- | ------ | -------- | ------- | ------------------------------------------- |
| `notificationId` | string | Yes      | —       | The ID of the notification to mark as read. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "notificationId": {
        "type": "string",
        "description": "The ID of the notification to mark as read."
      }
    },
    "required": [
      "PCID",
      "notificationId"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_notifications\_by\_notification\_id\_see

Mark Notification as Seen

**Parameters:**

| Parameter        | Type   | Required | Default | Description                                 |
| ---------------- | ------ | -------- | ------- | ------------------------------------------- |
| `notificationId` | string | Yes      | —       | The ID of the notification to mark as seen. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "notificationId": {
        "type": "string",
        "description": "The ID of the notification to mark as seen."
      }
    },
    "required": [
      "PCID",
      "notificationId"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_notifications\_read

Mark Notifications as Read

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_notifications\_see

Mark Notifications as Seen

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_allocate

Allocate a single Stat Point

**Parameters:**

| Parameter | Type   | Required | Default | Description                                  |
| --------- | ------ | -------- | ------- | -------------------------------------------- |
| `stat`    | string | Yes      | —       | The stat to increase (str, con, int, or per) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "stat": {
        "type": "string",
        "description": "The stat to increase (str, con, int, or per)",
        "enum": [
          "str",
          "con",
          "int",
          "per"
        ]
      }
    },
    "required": [
      "PCID",
      "stat"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_allocate\_bulk

Allocate multiple Stat Points

**Parameters:**

| Parameter | Type   | Required | Default | Description     |
| --------- | ------ | -------- | ------- | --------------- |
| `stats`   | object | No       | —       | The stats value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "stats": {
        "type": "object",
        "description": "The stats value",
        "properties": {
          "int": {
            "type": "number",
            "description": "The number of points to allocate to INT (Intelligence) stat."
          },
          "str": {
            "type": "number",
            "description": "The number of points to allocate to STR (Strength) stat."
          },
          "con": {
            "type": "number",
            "description": "The number of points to allocate to CON (Constitution) stat."
          },
          "per": {
            "type": "number",
            "description": "The number of points to allocate to PER (Perception) stat."
          }
        },
        "required": [
          "int",
          "str",
          "con",
          "per"
        ]
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_allocate\_now

Allocate all Stat Points

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_block\_by\_uuid

Block / unblock a user from sending you a PM

**Parameters:**

| Parameter | Type   | Required | Default | Description                    |
| --------- | ------ | -------- | ------- | ------------------------------ |
| `uuid`    | string | Yes      | —       | The UUID of the user to block. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "uuid": {
        "type": "string",
        "description": "The UUID of the user to block."
      }
    },
    "required": [
      "PCID",
      "uuid"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_buy\_armoire

Buy Enchanted Armoire

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_buy\_by\_key

Buy gear, armoire or potion

**Parameters:**

| Parameter | Type   | Required | Default | Description     |
| --------- | ------ | -------- | ------- | --------------- |
| `key`     | string | Yes      | —       | The item to buy |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "key": {
        "type": "string",
        "description": "The item to buy"
      }
    },
    "required": [
      "PCID",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_buy\_gear\_by\_key

Buy a piece of gear

**Parameters:**

| Parameter | Type   | Required | Default | Description                          |
| --------- | ------ | -------- | ------- | ------------------------------------ |
| `key`     | string | Yes      | —       | The key of the gear to be purchased. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "key": {
        "type": "string",
        "description": "The key of the gear to be purchased."
      }
    },
    "required": [
      "PCID",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_buy\_health\_potion

Buy a health potion

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_buy\_mystery\_set\_by\_key

Buy a Mystery Item set

**Parameters:**

| Parameter | Type   | Required | Default | Description                                 |
| --------- | ------ | -------- | ------- | ------------------------------------------- |
| `key`     | string | Yes      | —       | The key of the mystery set to be purchased. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "key": {
        "type": "string",
        "description": "The key of the mystery set to be purchased."
      }
    },
    "required": [
      "PCID",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_buy\_quest\_by\_key

Buy a quest with gold

**Parameters:**

| Parameter | Type   | Required | Default | Description                           |
| --------- | ------ | -------- | ------- | ------------------------------------- |
| `key`     | string | Yes      | —       | The key of the quest to be purchased. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "key": {
        "type": "string",
        "description": "The key of the quest to be purchased."
      }
    },
    "required": [
      "PCID",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_buy\_special\_spell\_by\_key

Buy special item (card, avatar transformation)

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                                                |
| --------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| `key`     | string | Yes      | —       | The special item to buy. Must be one of the keys from "content.special", such as birthday, snowball, salt. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "key": {
        "type": "string",
        "description": "The special item to buy. Must be one of the keys from \"content.special\", such as birthday, snowball, salt."
      }
    },
    "required": [
      "PCID",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_change\_class

Change the class of the authenticated user

**Parameters:**

| Parameter | Type   | Required | Default | Description                |
| --------- | ------ | -------- | ------- | -------------------------- |
| `class`   | string | Yes      | —       | The new class to change to |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "class": {
        "type": "string",
        "description": "The new class to change to",
        "enum": [
          "warrior",
          "rogue",
          "wizard",
          "healer"
        ]
      }
    },
    "required": [
      "PCID",
      "class"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_class\_cast\_by\_spell\_id

Cast a skill (spell) on yourself or a target

**Parameters:**

| Parameter  | Type   | Required | Default | Description                      |
| ---------- | ------ | -------- | ------- | -------------------------------- |
| `spellId`  | string | Yes      | —       | ID of the spell to cast          |
| `targetId` | string | No       | —       | User ID of the target (optional) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "spellId": {
        "type": "string",
        "description": "ID of the spell to cast",
        "enum": [
          "fireball",
          "mpheal",
          "earth",
          "frost",
          "smash",
          "defensiveStance",
          "valorousPresence",
          "intimidate",
          "pickPocket",
          "backStab",
          "toolsOfTrade",
          "stealth",
          "heal",
          "protectAura",
          "brightness",
          "healAll",
          "snowball",
          "spookySparkles",
          "seafoam",
          "shinySeed"
        ]
      },
      "targetId": {
        "type": "string",
        "description": "User ID of the target (optional)"
      }
    },
    "required": [
      "PCID",
      "spellId"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_custom\_day\_start

Set Custom Day Start time for user

**Parameters:**

| Parameter  | Type   | Required | Default | Description                                                                         |
| ---------- | ------ | -------- | ------- | ----------------------------------------------------------------------------------- |
| `dayStart` | number | No       | —       | The hour number (0-23) for the day to begin. If not supplied, it will default to 0. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dayStart": {
        "type": "number",
        "description": "The hour number (0-23) for the day to begin. If not supplied, it will default to 0."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_disable\_classes

Disable Classes

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_mark\_pms\_read

Mark Private Messages as read

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_open\_mystery\_item

Open the Mystery Item box

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_purchase\_by\_type\_by\_key

Purchase Gem or Gem-purchasable item

**Parameters:**

| Parameter  | Type    | Required | Default | Description                                                                                                        |
| ---------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------ |
| `type`     | string  | Yes      | —       | Type of item to purchase. Can be gems, eggs, hatchingPotions, premiumHatchingPotions, food, quests, gear, or pets. |
| `key`      | string  | Yes      | —       | Item's key (use "gem" for purchasing gems).                                                                        |
| `quantity` | integer | No       | —       | Count of items to buy. Defaults to 1 and is ignored for items where quantity is irrelevant.                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "type": {
        "type": "string",
        "description": "Type of item to purchase. Can be gems, eggs, hatchingPotions, premiumHatchingPotions, food, quests, gear, or pets.",
        "enum": [
          "gems",
          "eggs",
          "hatchingPotions",
          "premiumHatchingPotions",
          "food",
          "quests",
          "gear",
          "pets"
        ]
      },
      "key": {
        "type": "string",
        "description": "Item's key (use \"gem\" for purchasing gems)."
      },
      "quantity": {
        "type": "integer",
        "description": "Count of items to buy. Defaults to 1 and is ignored for items where quantity is irrelevant."
      }
    },
    "required": [
      "PCID",
      "type",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_purchase\_hourglass\_by\_type\_by\_key

Purchase Hourglass-purchasable item

**Parameters:**

| Parameter  | Type    | Required | Default | Description                                                                                 |
| ---------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------- |
| `type`     | string  | Yes      | —       | The type of item to purchase.                                                               |
| `key`      | string  | Yes      | —       | The key for the mount/pet.                                                                  |
| `quantity` | integer | No       | —       | Count of items to buy. Defaults to 1 and is ignored for items where quantity is irrelevant. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "type": {
        "type": "string",
        "description": "The type of item to purchase.",
        "enum": [
          "pets",
          "mounts"
        ]
      },
      "key": {
        "type": "string",
        "description": "The key for the mount/pet."
      },
      "quantity": {
        "type": "integer",
        "description": "Count of items to buy. Defaults to 1 and is ignored for items where quantity is irrelevant."
      }
    },
    "required": [
      "PCID",
      "type",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_read\_card\_by\_card\_type

Read a card

**Parameters:**

| Parameter  | Type   | Required | Default | Description                                                              |
| ---------- | ------ | -------- | ------- | ------------------------------------------------------------------------ |
| `cardType` | string | Yes      | —       | The of card to read (e.g. birthday, greeting, nye, thankyou, valentine). |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cardType": {
        "type": "string",
        "description": "The of card to read (e.g. birthday, greeting, nye, thankyou, valentine).",
        "enum": [
          "birthday",
          "greeting",
          "nye",
          "thankyou",
          "valentine"
        ]
      }
    },
    "required": [
      "PCID",
      "cardType"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_rebirth

Use Orb of Rebirth on user

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_reroll

Reroll user stats

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_reset

Reset user

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_revive

Revive user from death

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_sell\_by\_type\_by\_key

Sell a gold-sellable item owned by the user

**Parameters:**

| Parameter | Type   | Required | Default | Description              |
| --------- | ------ | -------- | ------- | ------------------------ |
| `type`    | string | Yes      | —       | The type of item to sell |
| `key`     | string | Yes      | —       | The key of the item      |
| `amount`  | number | No       | —       | The amount to sell       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "type": {
        "type": "string",
        "description": "The type of item to sell",
        "enum": [
          "eggs",
          "hatchingPotions",
          "food"
        ]
      },
      "key": {
        "type": "string",
        "description": "The key of the item"
      },
      "amount": {
        "type": "number",
        "description": "The amount to sell"
      }
    },
    "required": [
      "PCID",
      "type",
      "key"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_sleep

Make the user start / stop sleeping (resting in the Inn)

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_unequip\_by\_type

Unequip all items by type

**Parameters:**

| Parameter | Type   | Required | Default | Description                       |
| --------- | ------ | -------- | ------- | --------------------------------- |
| `type`    | string | Yes      | —       | Type of the item to be unequipped |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "type": {
        "type": "string",
        "description": "Type of the item to be unequipped",
        "enum": [
          "pet-mount-background",
          "costume",
          "equipped"
        ]
      }
    },
    "required": [
      "PCID",
      "type"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_unlock

Unlock item or set of items by purchase

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                   |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------- |
| `path`    | string | Yes      | —       | Full path to unlock. See "content" API call for list of items |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "path": {
        "type": "string",
        "description": "Full path to unlock. See \"content\" API call for list of items"
      }
    },
    "required": [
      "PCID",
      "path"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_create\_user\_webhook

Create user webhook

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                                                                                                                                         |
| --------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `enabled` | boolean | No       | —       | If the webhook should be enabled.                                                                                                                                                   |
| `id`      | string  | No       | —       | The webhook's id.                                                                                                                                                                   |
| `label`   | string  | No       | —       | A label to remind you what this webhook does.                                                                                                                                       |
| `options` | object  | No       | —       | The webhook's options. Will differ depending on type. Required for `groupChatReceived` type. If a webhook supports options, the default values are displayed in the examples below. |
| `type`    | string  | No       | —       | The webhook's type.                                                                                                                                                                 |
| `url`     | string  | Yes      | —       | The webhook's URL.                                                                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "enabled": {
        "type": "boolean",
        "description": "If the webhook should be enabled."
      },
      "id": {
        "type": "string",
        "description": "The webhook's id."
      },
      "label": {
        "type": "string",
        "description": "A label to remind you what this webhook does."
      },
      "options": {
        "type": "object",
        "description": "The webhook's options. Will differ depending on type. Required for `groupChatReceived` type. If a webhook supports options, the default values are displayed in the examples below."
      },
      "type": {
        "type": "string",
        "description": "The webhook's type.",
        "enum": [
          "taskActivity",
          "groupChatReceived",
          "userActivity",
          "questActivity"
        ]
      },
      "url": {
        "type": "string",
        "description": "The webhook's URL."
      }
    },
    "required": [
      "PCID",
      "url"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_delete\_messages

Delete all messages

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_delete\_messages\_by\_id

Delete User Message

**Parameters:**

| Parameter | Type   | Required | Default | Description                 |
| --------- | ------ | -------- | ------- | --------------------------- |
| `id`      | string | Yes      | —       | ID of the message to delete |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "ID of the message to delete"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_delete\_user

Delete User Account \[Danger]

**Parameters:**

| Parameter  | Type   | Required | Default | Description        |
| ---------- | ------ | -------- | ------- | ------------------ |
| `feedback` | string | No       | —       | The feedback value |
| `password` | string | No       | —       | The password value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "feedback": {
        "type": "string",
        "description": "The feedback value"
      },
      "password": {
        "type": "string",
        "description": "The password value"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_delete\_webhook\_by\_id

Delete a webhook

**Parameters:**

| Parameter | Type   | Required | Default | Description                          |
| --------- | ------ | -------- | ------- | ------------------------------------ |
| `id`      | string | Yes      | —       | Id (UUID) of the webhook to retrieve |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "Id (UUID) of the webhook to retrieve"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_get\_anonymized

Get anonymized user data

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_get\_inbox\_messages

Get Inbox Messages

**Parameters:**

| Parameter      | Type    | Required | Default | Description                                                   |
| -------------- | ------- | -------- | ------- | ------------------------------------------------------------- |
| `page`         | integer | No       | —       | Load the messages of the selected Page - 10 Messages per Page |
| `conversation` | string  | No       | —       | Loads only the messages of a conversation                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "page": {
        "type": "integer",
        "description": "Load the messages of the selected Page - 10 Messages per Page"
      },
      "conversation": {
        "type": "string",
        "description": "Loads only the messages of a conversation"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_get\_purchase\_history

Get user purchase history

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_get\_user

Get user information

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_get\_webhook

Get user webhooks

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_update\_user

Update the user

**Parameters:**

| Parameter      | Type   | Required | Default | Description            |
| -------------- | ------ | -------- | ------- | ---------------------- |
| `achievements` | object | No       | —       | The achievements value |
| `flags`        | object | No       | —       | The flags value        |
| `preferences`  | object | No       | —       | The preferences value  |
| `profile`      | object | No       | —       | The profile value      |
| `stats`        | object | No       | —       | The stats value        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "achievements": {
        "type": "object",
        "description": "The achievements value"
      },
      "flags": {
        "type": "object",
        "description": "The flags value"
      },
      "preferences": {
        "type": "object",
        "description": "The preferences value"
      },
      "profile": {
        "type": "object",
        "description": "The profile value"
      },
      "stats": {
        "type": "object",
        "description": "The stats value"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_update\_user\_auth\_update\_email

Update email

**Parameters:**

| Parameter  | Type   | Required | Default | Description           |
| ---------- | ------ | -------- | ------- | --------------------- |
| `newEmail` | string | No       | —       | The new email address |
| `password` | string | No       | —       | The user password     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "newEmail": {
        "type": "string",
        "description": "The new email address"
      },
      "password": {
        "type": "string",
        "description": "The user password"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_update\_user\_auth\_update\_password

Update password

**Parameters:**

| Parameter         | Type   | Required | Default | Description               |
| ----------------- | ------ | -------- | ------- | ------------------------- |
| `confirmPassword` | string | No       | —       | New password confirmation |
| `newPassword`     | string | No       | —       | The new password          |
| `password`        | string | No       | —       | The old password          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "confirmPassword": {
        "type": "string",
        "description": "New password confirmation"
      },
      "newPassword": {
        "type": "string",
        "description": "The new password"
      },
      "password": {
        "type": "string",
        "description": "The old password"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_update\_user\_auth\_update\_username

Update User's Username

**Parameters:**

| Parameter  | Type   | Required | Default | Description                                                                         |
| ---------- | ------ | -------- | ------- | ----------------------------------------------------------------------------------- |
| `password` | string | No       | —       | The user's password if they use local authentication. Omit if they use social auth. |
| `username` | string | No       | —       | The new username                                                                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "password": {
        "type": "string",
        "description": "The user's password if they use local authentication. Omit if they use social auth."
      },
      "username": {
        "type": "string",
        "description": "The new username"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## habitica\_user\_update\_user\_webhook\_by\_id

Edit a webhook

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                                                                                                                              |
| --------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `id`      | string  | Yes      | —       | Id (UUID) of the webhook to retrieve                                                                                                                                     |
| `enabled` | boolean | No       | —       | If the webhook should be enabled.                                                                                                                                        |
| `label`   | string  | No       | —       | A label to remind you what this webhook does.                                                                                                                            |
| `options` | object  | No       | —       | The webhook's options. Will differ depending on type. The options are enumerated in the [add webhook examples](https://habitica.com/apidoc/#api-Webhook-UserAddWebhook). |
| `type`    | string  | No       | —       | The webhook's type.                                                                                                                                                      |
| `url`     | string  | No       | —       | The webhook's URL.                                                                                                                                                       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "Id (UUID) of the webhook to retrieve"
      },
      "enabled": {
        "type": "boolean",
        "description": "If the webhook should be enabled."
      },
      "label": {
        "type": "string",
        "description": "A label to remind you what this webhook does."
      },
      "options": {
        "type": "object",
        "description": "The webhook's options. Will differ depending on type. The options are enumerated in the [add webhook examples](https://habitica.com/apidoc/#api-Webhook-UserAddWebhook)."
      },
      "type": {
        "type": "string",
        "description": "The webhook's type.",
        "enum": [
          "taskActivity",
          "groupChatReceived",
          "userActivity",
          "questActivity"
        ]
      },
      "url": {
        "type": "string",
        "description": "The webhook's URL."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>
