AI Body Scan APIs in Member Wellness Programs
Organisations that run member wellness programs can offer camera-based body scanning as an optional way for people to follow their own fitness progress. This guide covers how to do that, and the uses to stay away from.
verified Published by the WorkoutX team — builders of the exercise API used by fitness app developers. Learn more
Scope: WorkoutX Body Scan is a general wellness and fitness tracking tool. Its results are estimates, not measurements. It is not a medical device, it has not been validated against DXA or any other reference method, and it must not be used for diagnosis, treatment or medical monitoring.
Optional Progress Tracking for Members
A member wellness app works best when people feel it is there for them. An optional body scan lets a member see a body fat estimate, muscle and fitness scores, and waist, hip and shoulder estimates, then follow the general direction over time.
The results are for the member's own motivation. Taking part should always be a free choice, and a member who skips scans should lose nothing.
Keeping Wellness Programs Engaging
Many wellness programs use points, badges and challenges to keep people active. If you add scans to one of these programs, reward taking part, such as logging workouts or finishing a challenge. Don't tie rewards to a body result. Body Scan gives estimates, so they are not a fair or reliable basis for a reward.
Not for Underwriting, Pricing or Screening
Body Scan estimates have not been validated against any reference method. They must not be used for insurance underwriting, setting or adjusting premiums, assessing claims, eligibility decisions, risk scoring or health screening. If results are visible to an insurer or an employer at all, keep them away from any such decision.
Integrating the API into Member Apps
Developing a progress-tracking workflow inside a member mobile application is simple. Below is a JavaScript integration example that uploads the member's photo and profile details to the REST endpoint:
async function submitMemberScan(imageUri, profile) {
const form = new FormData();
form.append('front_photo', {
uri: imageUri,
type: 'image/jpeg',
name: 'member_scan.jpg',
});
form.append('height_cm', profile.height);
form.append('weight_kg', profile.weight);
form.append('age', profile.age);
form.append('gender', profile.gender);
const response = await fetch('https://bodyscan.workoutxapp.com/v1/analyze', {
method: 'POST',
headers: {
'X-BodyScan-Key': 'bsk_your_key_here'
},
body: form,
});
return await response.json();
}
What Happens to a Photo
- Photos are processed only during analysis and not stored by us. A large upload may briefly sit in a temporary file while it is processed.
- Photos are sent to Anthropic for analysis.
- We keep the height, weight, age and gender sent with a scan and the numeric results. These are deleted automatically 90 days after the scan, so store anything you want to show for longer in your own database.
- You don't need to send names or emails. If you use
external_user_id, use a random id. - You are responsible for telling people how their photos are used and for having a legal basis, such as their consent. Body Scan must only be used with adults (18+).
Using Body Scan does not by itself make your product compliant with any privacy or health law. See our Privacy Policy for details.
Technical Details
Wellness teams evaluating the Body Scan API can read what a body composition API returns for the output and the limits of an estimate.