Notes
Properties
This table describes all properties of a Note object.
Name
Type
Required
Description
id
String
required
content
String
required
created_date
Date
required
habit_id
String
required
note_type
Number
required
image_url
String
optional
List Notes
GET
https://api.habitify.me/notes/:habit_id
Get all notes of the habit
Path Parameters
habit_id
string
ID of habit
Query Parameters
from
string
Date Format
to
boolean
Date Format
Headers
Authorization
string
API Key
Add Text Note
POST
https://api.habitify.me/notes/:habit_id
Append new note for specific habit
Path Parameters
habit_id
string
The habit ID
Headers
Authorization
string
API Key
Request Body
created
string
Date Format
content
string
Content of the note you're adding
Add Image Note
POST
https://api.habitify.me/notes/addImageNote/:habit_id
Path Parameters
habit_id
string
Query Parameters
created_at
string
Headers
Authorization
string
API Key
Request Body
image
object
Only support JPG, JPEG format. The size of the image is smaller than 2MB.
Delete Note
DELETE
https://api.habitify.me/notes/:habit_id/:note_id
Path Parameters
note_id
string
Note ID
habit_id
string
Habit ID
Headers
Authorization
string
API Key
Delete Notes
DELETE
https://api.habitify.me/notes/:habit_id
Path Parameters
habit_id
string
Headers
Authorization
string
API Key
Request Body
to
string
Date Format
from
string
Date Format
Last updated