Mood

List mood check-ins

get
/mood/checkin/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
fromstring · dateOptional
tostring · dateOptional
pageintegerOptional
Responses
200

Mood check-ins

application/json
get
/mood/checkin/
GET /api/v1/mood/checkin/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "id": 1,
    "mood_value": 1,
    "slider_value": 1,
    "note": "text",
    "created_at": "2025-11-29T03:33:20.007Z"
  }
]

Create mood check-in

post
/mood/checkin/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
mood_valueintegerRequired
slider_valueinteger | nullableOptional
notestring | nullableOptional
Responses
post
/mood/checkin/
POST /api/v1/mood/checkin/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "mood_value": 1,
  "slider_value": 1,
  "note": "text"
}
{
  "id": 1,
  "mood_value": 1,
  "slider_value": 1,
  "note": "text",
  "created_at": "2025-11-29T03:33:20.007Z"
}

Mood over time

get
/mood/insights/mood-over-time/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
daysintegerOptional
Responses
200

Mood trend data

No content

get
/mood/insights/mood-over-time/
GET /api/v1/mood/insights/mood-over-time/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Mood summary

get
/mood/insights/summary/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
rangestring · enumOptionalPossible values:
Responses
200

Mood summary

No content

get
/mood/insights/summary/
GET /api/v1/mood/insights/summary/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Mood calendar view

get
/mood/insights/calendar/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
yearintegerOptional
monthintegerOptional
Responses
200

Calendar data

No content

get
/mood/insights/calendar/
GET /api/v1/mood/insights/calendar/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated