ForkFit Docs
ServerAPI

Profiles & Biometrics

Detailed reference for user profiles, safety checklists, preferences, biometrics tracking, workouts, and active goals.

Profiles & Biometrics

Endpoints for retrieving and writing personalized preferences, body measurements, medical safety constraints, activity logs, and active fitness objectives. All profile routes are nested under /api/v1/profile.


1. Profiles & Safety

Get Profile Details

GET /api/v1/profile

Returns target macros, height, weight, activity levels, and basic details. Output is merged with account credentials (email, email_verified, status).


Update Profile Parameters

PUT /api/v1/profile

Updates physical metadata and display parameters.

  • Payload Parameters:

    Prop

    Type


Get Medical Safety Details

GET /api/v1/profile/safety

Retrieves current allergies and medical condition profiles.


Update Medical Safety Details

PUT /api/v1/profile/safety

Updates safety parameters like food allergies and medical restrictions.

  • Payload Parameters:

    Prop

    Type


Get Food Preferences

GET /api/v1/profile/preferences

Retrieves user preferred and avoided food catalogs, calorie boundaries, and cuisine constraints.


Update Food Preferences

PUT /api/v1/profile/preferences

Updates preferred and avoided foods or cuisines.


2. Logs & Goals

Get Biometric History

GET /api/v1/profile/biometrics

Retrieves historical tracking logs of body weight, height, or body fat.


Log Biometric Entry

POST /api/v1/profile/biometrics

Submits a new metric reading.

  • Payload Parameters:

    Prop

    Type


Get Recent Workouts

GET /api/v1/profile/workouts

Retrieves history of logged physical workouts.


Log Workout Session

POST /api/v1/profile/workouts

Records physical activities, duration, and calories burned.


Get Active Goals

GET /api/v1/profile/goals

Retrieves current caloric targets, weight objectives, and macro distribution targets.


Set New Goal

POST /api/v1/profile/goals

Registers a new target objective (e.g. Muscle Gain, Fat Loss).


Deactivate Goal Category

DELETE /api/v1/profile/goals/{category}

Deactivates active goals under a specific category (e.g. 'weight', 'calories').

On this page