Get Active Goals
GET /api/writing/analytics/goals
GET
/api/writing/analytics/goals
Get all active writing goals.
Responses
Section titled “ Responses ”Successful Response
AnalyticsStatusResponse[GoalListData]
object
status
required
Status
string
message
required
Message
string
data
Any of:
GoalListData
Wrapper for goal list.
object
goals
required
Goals
Array<object>
WritingGoalResponseA single writing goal.
object
goalId
required
Goalid
string
userId
Userid
string
goalType
Goaltype
string
targetWords
Targetwords
integer
currentWords
Currentwords
integer
startDate
Startdate
string
endDate
Enddate
string
isActive
Isactive
boolean
createdAt
Createdat
string
updatedAt
Updatedat
string
null