Developer Documentation
API Reference
Build powerful fitness applications with the PumplAI API. Access workouts, exercises, and AI coaching programmatically.
Coming Soon
Our public API is under development. Interested in early access? Contact us
API Features
RESTful API
Clean, predictable API endpoints following REST conventions
Authentication
Secure OAuth 2.0 and API key authentication
Webhooks
Real-time event notifications for your applications
JSON Responses
Consistent, well-documented JSON response formats
API Endpoints
GET
/api/v1/workoutsPOST
/api/v1/workouts/generateGET
/api/v1/exercisesPOST
/api/v1/sessionsGET
/api/v1/users/meEndpoints marked with lock require authentication
Quick Example
JavaScript
// Example: Generate a workout
const response = await fetch('https://api.pumplai.com/v1/workouts/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
goal: 'strength',
duration: 45,
equipment: ['barbell', 'dumbbell'],
difficulty: 'intermediate',
}),
});
const workout = await response.json();
console.log(workout);SDKs & Libraries
TypeScript SDK
Coming SoonPython SDK
Coming SoonSwift SDK
Coming SoonReady to Build?
Interested in API access? Join our developer waitlist and be the first to know when the API launches.
Join Developer Waitlist