ShakaPT API Documentation
Build powerful fitness applications with our comprehensive REST API. Access AI workouts, nutrition analysis, progress tracking, and more.
Quick Start
1Get API Key
Create an account and generate your API key from the developer dashboard.
curl -X POST https://api.shakapt.com/auth/api-key \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"2Make Your First Request
Test the API with a simple user profile request.
curl -X GET https://api.shakapt.com/users/profile \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"3Generate AI Workout
Create a personalized workout using our AI engine.
curl -X GET https://api.shakapt.com/workouts/generate \
-H "X-API-Key: YOUR_API_KEY" \
-G -d "user_id=123" -d "difficulty=intermediate"API Endpoints
Authentication4 endpoints
Secure user authentication and authorization
/auth/login/auth/register/auth/refresh/auth/logoutUser Management4 endpoints
Manage user profiles and family accounts
/users/profile/users/profile/users/family/users/family/memberAI Workouts4 endpoints
AI-generated personalized workout plans
/workouts/generate/workouts/history/workouts/log/workouts/{id}/feedbackNutrition4 endpoints
Nutrition tracking and meal planning
/nutrition/analyze-photo/nutrition/meal-plan/nutrition/log-meal/nutrition/insightsProgress Tracking4 endpoints
Track fitness progress and analytics
/progress/stats/progress/measurement/progress/charts/progress/photoHealth Integration4 endpoints
Integrate with health devices and apps
/health/sync/fitbit/health/sync/apple/health/devices/health/devices/{id}Official SDKs
JavaScript
Official Node.js/Browser SDK
npm install @shakapt/sdkPython
Official Python SDK
pip install shakapt-sdkReact Native
Mobile SDK for React Native
npm install @shakapt/react-nativeSwift
iOS SDK for Swift
Swift Package ManagerAPI Status
Rate Limits
Authentication
API Key
Include in headers as X-API-Key
OAuth 2.0
For user-specific operations
Webhooks
Real-time event notifications
Developer Support
Ready to Build with ShakaPT?
Join thousands of developers building innovative fitness applications with our powerful API. Get started with our free tier and scale as you grow.