habitica.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Auth
login
auth.login
Exchange a password for an API token
Risk: read
register
auth.register
Register a new Habitica account and mint its credential
Risk: write
social
auth.social
Authenticate through a social provider
Risk: read
authResponse full type
authResponse full type
Challenges
clone
challenges.clone
Duplicate a challenge
Risk: write
leader full type
leader full type
group full type
group full type
tasksOrder full type
tasksOrder full type
categories full type
categories full type
flags full type
flags full type
create
challenges.create
Create a challenge in a group
Risk: write
leader full type
leader full type
group full type
group full type
tasksOrder full type
tasksOrder full type
categories full type
categories full type
flags full type
flags full type
delete
challenges.delete
Permanently delete a challenge and its tasks
Risk: destructive
object
Output full type
Output full type
exportCsv
challenges.exportCsv
Export a challenge as CSV
Risk: read
get
challenges.get
Retrieve a challenge
Risk: read
leader full type
leader full type
group full type
group full type
tasksOrder full type
tasksOrder full type
categories full type
categories full type
flags full type
flags full type
join
challenges.join
Join a challenge
Risk: write
leader full type
leader full type
group full type
group full type
tasksOrder full type
tasksOrder full type
categories full type
categories full type
flags full type
flags full type
leave
challenges.leave
Leave a challenge
Risk: write
object
Output full type
Output full type
listByGroup
challenges.listByGroup
List a group’s challenges
Risk: read
object[]
Output full type
Output full type
listForUser
challenges.listForUser
List the challenges the account takes part in
Risk: read
object[]
Output full type
Output full type
Chat
deleteMessage
chat.deleteMessage
Permanently delete a chat message
Risk: destructive
object
Output full type
Output full type
list
chat.list
Read a group’s chat messages
Risk: read
object[]
Output full type
Output full type
markSeen
chat.markSeen
Mark a group’s chat as read
Risk: write
object
Output full type
Output full type
Content
dismissNews
content.dismissNews
Dismiss the current announcement
Risk: write
object
Output full type
Output full type
get
content.get
Fetch the whole game content catalogue
Risk: read
object
Output full type
Output full type
getByType
content.getByType
Fetch the content catalogue with named categories EXCLUDED
Risk: read
object
Output full type
Output full type
marketGear
content.marketGear
List gear for sale in the market
Risk: read
object
Output full type
Output full type
modelPaths
content.modelPaths
List a model’s field paths and types
Risk: read
object
Output full type
Output full type
news
content.news
Read the latest Bailey announcement
Risk: read
object
Output full type
Output full type
status
content.status
Check that the Habitica API is up
Risk: read
object
Output full type
Output full type
timeTravelers
content.timeTravelers
List the Time Travellers shop stock
Risk: read
object
Output full type
Output full type
validateCoupon
content.validateCoupon
Check whether a coupon code is valid
Risk: read
object
Output full type
Output full type
worldState
content.worldState
Read world events and the world boss
Risk: read
object
Output full type
Output full type
Exports
history
exports.history
Export task history as CSV
Risk: read
inbox
exports.inbox
Export the inbox as HTML
Risk: read
userData
exports.userData
Export the whole account as JSON (contains the account email)
Risk: read
object
Output full type
Output full type
Groups
create
groups.create
Create a party or guild
Risk: write
leader full type
leader full type
managers full type
managers full type
categories full type
categories full type
quest full type
quest full type
leaderOnly full type
leaderOnly full type
tasksOrder full type
tasksOrder full type
purchased full type
purchased full type
cron full type
cron full type
archive full type
archive full type
get
groups.get
Retrieve a group by id
Risk: read
leader full type
leader full type
managers full type
managers full type
categories full type
categories full type
quest full type
quest full type
leaderOnly full type
leaderOnly full type
tasksOrder full type
tasksOrder full type
purchased full type
purchased full type
cron full type
cron full type
archive full type
archive full type
getParty
groups.getParty
Retrieve the account’s party
Risk: read
leader full type
leader full type
managers full type
managers full type
categories full type
categories full type
quest full type
quest full type
leaderOnly full type
leaderOnly full type
tasksOrder full type
tasksOrder full type
purchased full type
purchased full type
cron full type
cron full type
archive full type
archive full type
getTavern
groups.getTavern
Retrieve the Tavern
Risk: read
leader full type
leader full type
managers full type
managers full type
categories full type
categories full type
quest full type
quest full type
leaderOnly full type
leaderOnly full type
tasksOrder full type
tasksOrder full type
purchased full type
purchased full type
cron full type
cron full type
archive full type
archive full type
invite
groups.invite
Invite people to a group
Risk: write
emails full type
emails full type
object[]
Output full type
Output full type
inviteToQuest
groups.inviteToQuest
Invite the party to a quest
Risk: write
object
Output full type
Output full type
leave
groups.leave
Leave a group
Risk: write
object
Output full type
Output full type
list
groups.list
List groups by type
Risk: read
object[]
Output full type
Output full type
listMembers
groups.listMembers
List a group’s members
Risk: read
object[]
Output full type
Output full type
removeMember
groups.removeMember
Remove a member from the party
Risk: write
object
Output full type
Output full type
update
groups.update
Update a group’s properties
Risk: write
leader full type
leader full type
managers full type
managers full type
categories full type
categories full type
quest full type
quest full type
leaderOnly full type
leaderOnly full type
tasksOrder full type
tasksOrder full type
purchased full type
purchased full type
cron full type
cron full type
archive full type
archive full type
Tags
create
tags.create
Create a tag
Risk: write
delete
tags.delete
Permanently delete a tag
Risk: destructive
object
Output full type
Output full type
list
tags.list
List every tag on the account
Risk: read
object[]
Output full type
Output full type
update
tags.update
Rename a tag
Risk: write
Tasks
addTag
tasks.addTag
Apply an existing tag to a task
Risk: write
challenge full type
challenge full type
group full type
group full type
reminders full type
reminders full type
history full type
history full type
checklist full type
checklist full type
repeat full type
repeat full type
create
tasks.create
Create a habit, daily, todo or reward
Risk: write
checklist full type
checklist full type
repeat full type
repeat full type
reminders full type
reminders full type
challenge full type
challenge full type
group full type
group full type
reminders full type
reminders full type
history full type
history full type
checklist full type
checklist full type
repeat full type
repeat full type
createChallengeTask
tasks.createChallengeTask
Add a task to a challenge
Risk: write
checklist full type
checklist full type
object[]
Output full type
Output full type
delete
tasks.delete
Permanently delete a task
Risk: destructive
object
Output full type
Output full type
deleteChecklistItem
tasks.deleteChecklistItem
Remove a checklist item from a task
Risk: write
challenge full type
challenge full type
group full type
group full type
reminders full type
reminders full type
history full type
history full type
checklist full type
checklist full type
repeat full type
repeat full type
get
tasks.get
Retrieve any task by id
Risk: read
challenge full type
challenge full type
group full type
group full type
reminders full type
reminders full type
history full type
history full type
checklist full type
checklist full type
repeat full type
repeat full type
list
tasks.list
List the account’s tasks
Risk: read
object[]
Output full type
Output full type
listChallengeTasks
tasks.listChallengeTasks
List a challenge’s tasks
Risk: read
object[]
Output full type
Output full type
move
tasks.move
Move a task to a position in its list
Risk: write
string[]
score
tasks.score
Score a task up or down
Risk: write
_tmp full type
_tmp full type
buffs full type
buffs full type
training full type
training full type
unlinkAllChallengeTasks
tasks.unlinkAllChallengeTasks
Unlink every task of a challenge, optionally deleting members’ copies
Risk: destructive
object
Output full type
Output full type
update
tasks.update
Update a task
Risk: write
checklist full type
checklist full type
repeat full type
repeat full type
reminders full type
reminders full type
challenge full type
challenge full type
group full type
group full type
reminders full type
reminders full type
history full type
history full type
checklist full type
checklist full type
repeat full type
repeat full type
updateChecklistItem
tasks.updateChecklistItem
Update a checklist item’s text
Risk: write
challenge full type
challenge full type
group full type
group full type
reminders full type
reminders full type
history full type
history full type
checklist full type
checklist full type
repeat full type
repeat full type
User
addPushDevice
user.addPushDevice
Register a push-notification device
Risk: write
object[]
Output full type
Output full type
deleteMessage
user.deleteMessage
Permanently delete an inbox message
Risk: destructive
object
Output full type
Output full type
deletePushDevice
user.deletePushDevice
Unregister a push-notification device
Risk: write
object[]
Output full type
Output full type
equip
user.equip
Equip or unequip gear, a pet, a mount or a costume
Risk: write
object
Output full type
Output full type
get
user.get
Read the account’s user document
Risk: read
object
Output full type
Output full type
markNotificationSeen
user.markNotificationSeen
Mark one notification as seen
Risk: write
object
Output full type
Output full type
markNotificationsSeen
user.markNotificationsSeen
Mark several notifications as seen
Risk: write
object
Output full type
Output full type
movePinnedItem
user.movePinnedItem
Reorder a pinned reward
Risk: write
object
Output full type
Output full type
readCard
user.readCard
Mark a received card as read
Risk: write
object
Output full type
Output full type
reset
user.reset
Reset the account, deleting every task and returning to level 1
Risk: destructive
object
Output full type
Output full type
update
user.update
Update user fields by dot path
Risk: write
updates full type
updates full type
object
Output full type
Output full type
Webhooks
create
webhooks.create
Register an outbound webhook
Risk: write
options full type
options full type
options full type
options full type
list
webhooks.list
List the account’s outbound webhooks
Risk: read
object[]
Output full type
Output full type
subscribe
webhooks.subscribe
Enable an existing webhook
Risk: write
options full type
options full type