Actions List
Properties
The table describes all properties of an Action object.
Name
Type
Required
Description
id
String
required
remind_at
String
required
status
Number
required
title
String
required
updated_at
Date
required
habit_id
String
required
Get Actions
GET
https://api.habitify.me/actions/:habit_id
This endpoint allows you to get actions of the habit
Path Parameters
habit_id
string
Headers
Authorization
string
API Key
Get Action By Id
GET
https://api.habitify.me/actions/:habit_id/:action_id
Action successfully retrieved.
Path Parameters
action_id
string
habit_id
string
Headers
Authorization
string
API Key
Create a new action
POST
https://api.habitify.me/actions/:habit_id
Create a new action of the habit successfully
Path Parameters
habit_id
string
Headers
Authorization
string
API Key
Request Body
title
string
remind_at
string
Date Format
Update Action
PUT
https://api.habitify.me/actions/:habit_id/:action_id
Path Parameters
action_id
string
habit_id
string
Headers
Authorization
string
API Key
Request Body
status
string
Only accept the value of status in Action Status
title
string
remind_at
string
Date Format
DELETE
https://api.habitify.me/actions/:habit_id/:action_id
Path Parameters
action_id
string
habit_id
string
Headers
Authorization
string
API Key
Last updated