Create a new habit
Create a new habit with optional goal, reminders, end condition, and area assignments.
Authorizations
API key generated from our app (Settings > API). Only one key can be active at a time.
Body
Display name of the habit
Indicates whether a habit is something you want to build or break. A "good" habit is one you want to maintain or increase (e.g., exercise, reading). A "bad" habit is one you want to reduce or eliminate (e.g., smoking, excessive screen time).
good, bad Optional detailed description of the habit
Defines the recurrence schedule for a habit. A habit can occur daily, on specific days of the week, on specific days of the month, or at a fixed interval of days.
- Option 1
- Option 2
- Option 3
- Option 4
Date when habit tracking begins (YYYY-MM-DD format). Defaults to today.
Icon identifier for visual display
Hex color code for the habit (e.g., "#FF6B6B")
Custom unit name for measurable habits (e.g., "glasses")
Area IDs to assign the habit to
Time-of-day period IDs to assign the habit to
Goal to create with the habit
Reminders to create with the habit
Input payload for creating a date-based end condition.
- Option 1
- Option 2
- Option 3
- Option 4
Response
Habit created successfully
Represents a habit you want to track. Contains all configuration including scheduling, goals, reminders, and categorization.
Unique identifier of the habit
Display name of the habit
Icon identifier used for visual display
Hex color code for the habit (e.g., "#FF6B6B")
Indicates whether a habit is something you want to build or break. A "good" habit is one you want to maintain or increase (e.g., exercise, reading). A "bad" habit is one you want to reduce or eliminate (e.g., smoking, excessive screen time).
good, bad Optional detailed description of the habit
Defines the recurrence schedule for a habit. A habit can occur daily, on specific days of the week, on specific days of the month, or at a fixed interval of days.
- Option 1
- Option 2
- Option 3
- Option 4
Date when the habit tracking begins (YYYY-MM-DD format)
Timestamp when the habit was created
Whether the habit is archived. Archived habits are hidden but their data is preserved.
Determines how habit progress is tracked. - manual: You manually log progress through our app or API. - auto: Progress is automatically tracked via an integrated service (e.g., Apple Health, Fitbit, Strava).
manual, auto List of goals associated with this habit
Identifier of the challenge this habit belongs to, if any
Reminder configuration for a habit, including time-based triggers and habit stacking rules.
An end condition that causes the habit to end on a specific date.
- Option 1
- Option 2
- Option 3
- Option 4
Custom unit name for measurable habits (e.g., "glasses" for water intake)
Areas this habit is categorized under
Time-of-day periods when the habit should be performed

