Endpoint
Authentication
This endpoint requires authentication via Bearer token.Request Body
Date of the symptom in YYYY-MM-DD format (e.g., “2024-03-15”)
Symptom data object
Type of symptom. Options:
bloating, gas, cramps, nausea, diarrhea, constipation, reflux, fatigue, headache, brain_fog, otherIntensity level from 1 (mild) to 5 (severe)
Time when the symptom occurred in HH:MM format (e.g., “14:30”)
Duration of the symptom in minutes
Additional notes about the symptom (max 500 characters)
Response
Indicates if the symptom was successfully logged
The created diary entry
Entry ID (MongoDB ObjectId)
User ID who created the entry
Entry date in YYYY-MM-DD format
Entry type (always “symptom” for this endpoint)
Complete symptom data including all provided fields
Timestamp when the entry was created
Timestamp when the entry was last updated
Examples
Log a bloating symptom
Log severe cramps
Log mild gas without duration
Log fatigue related to digestive issues
Symptom Types
| Type | Description |
|---|---|
bloating | Abdominal bloating and distension |
gas | Flatulence and gas |
cramps | Abdominal cramps and pain |
nausea | Feeling of nausea |
diarrhea | Loose or watery stools |
constipation | Difficulty passing stools |
reflux | Acid reflux or heartburn |
fatigue | Tiredness or lack of energy |
headache | Headache |
brain_fog | Mental cloudiness or difficulty concentrating |
other | Other symptoms not listed |
Intensity Levels
| Level | Description |
|---|---|
| 1 | Very mild - barely noticeable |
| 2 | Mild - noticeable but not bothersome |
| 3 | Moderate - somewhat bothersome |
| 4 | Severe - very bothersome, affecting daily activities |
| 5 | Very severe - debilitating, unable to function normally |