Habits

Properties

This table describes all properties of a Habit object.

Name

Type

Required

Description

id

String

required

name

String

required

is_archived

Boolean

required

start_date

Date

required

remind

String[]

optional

time_of_day

required

time_of_day

required

recurrence

String

required

created_date

Date

required

goal

optional

goal_history_items

optional

log_method

required

priority

Double

required

status

optional

Only exist when fetching from Journal

progress

Object

optional

Only exist when the status is in_progress, completed

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

Was this helpful?