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

Name
Type
Description

habit_id

string

Headers

Name
Type
Description

Authorization

string

API Key

Get Action By Id

GET https://api.habitify.me/actions/:habit_id/:action_id

Action successfully retrieved.

Path Parameters

Name
Type
Description

action_id

string

habit_id

string

Headers

Name
Type
Description

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

Name
Type
Description

habit_id

string

Headers

Name
Type
Description

Authorization

string

API Key

Request Body

Name
Type
Description

title

string

remind_at

string

Date Format

Update Action

PUT https://api.habitify.me/actions/:habit_id/:action_id

Path Parameters

Name
Type
Description

action_id

string

habit_id

string

Headers

Name
Type
Description

Authorization

string

API Key

Request Body

Name
Type
Description

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

Name
Type
Description

action_id

string

habit_id

string

Headers

Name
Type
Description

Authorization

string

API Key

Last updated

Was this helpful?