Habits
Properties
This table describes all properties of a Habit object.
Name | Type | Required | Description |
id |
|
| |
name |
|
| |
is_archived |
|
| |
start_date |
|
| |
remind |
|
| |
time_of_day |
| ||
time_of_day |
| ||
recurrence |
|
| RRule string, https://jakubroztocil.github.io/rrule/ |
created_date |
|
| |
goal |
| ||
goal_history_items |
| ||
log_method |
| ||
priority |
|
| |
status |
| Only exist when fetching from Journal | |
progress |
|
| Only exist when the status is |
Available Methods
List Habits
GET
https://api.habitify.me/habits
This endpoint allows you to get habits.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Get Habit
GET
https://api.habitify.me/habits/:habit_id
The endpoint allows you to get the detail of habit
Path Parameters
Name | Type | Description |
---|---|---|
habit_id | string | The id of the habit. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Last updated