Get Profile
Profile
Get Profile
Retrieve the authenticated user’s profile information including fitness goals, body metrics, dietary preferences, and nutritional targets
GET
Get Profile
Authentication
This endpoint requires authentication. Include a valid JWT token in the Authorization header:Request
No parameters required. The profile is retrieved for the currently authenticated user.Response
Profile ID
Associated User ID
User’s fitness goalAllowed values:
lose_weight, maintain_weight, gain_weightUser’s height in centimeters (140-220)
User’s weight in kilograms (35-300)
User’s body typeAllowed values:
lean, normal, stocky, obeseUser’s genderAllowed values:
male, femaleNumber of meals per day (1-6)
User’s activity levelAllowed values:
low, medium, highUser’s birth date in ISO format (YYYY-MM-DD). User must be 16-100 years old.
User’s body fat percentage (optional, >= 0.0)
User’s target calories (optional, >= 0.0)
User’s target protein in grams (optional, >= 0.0)
User’s target carbs in grams (optional, >= 0.0)
User’s target fat in grams (optional, >= 0.0)
Example Request
Example Response
Error Responses
Profile does not exist for the authenticated user
Authentication token is missing or invalid
