Skip to main content
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/workouts
POST/api/v1/workouts/generate
GET/api/v1/exercises
POST/api/v1/sessions
GET/api/v1/users/me

Endpoints 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 Soon

Python SDK

Coming Soon

Swift SDK

Coming Soon

Ready to Build?

Interested in API access? Join our developer waitlist and be the first to know when the API launches.

Join Developer Waitlist