Complete API reference and prompt builder for Gymfinity mobile app development
Base URL: https://gymfinity.co/api
Authentication: Bearer token in Authorization header
Content-Type: application/json
Response Format: JSON with {success, data, error} structure
/auth/loginAuthenticate user
/auth/registerRegister new user
/auth/meGet current user profile
/auth/meUpdate user profile
/coaches/searchSearch coaches by skill/location
/coaches/:idGet coach profile details
/coaches/:id/availabilityGet coach availability calendar
/coaches/:id/reviewsGet coach reviews
/bookingsCreate lesson booking
/bookingsGet user bookings
/bookings/:idGet booking details
/bookings/:idUpdate booking (reschedule)
/bookings/:idCancel booking
/payments/checkoutCreate payment session
/payments/:idGet payment details
/payments/:id/receiptGet payment receipt
/gyms/searchSearch nearby gyms
/gyms/:idGet gym details
/gyms/:id/locationsGet gym locations
/gyms/:id/availabilityGet available time slots
/studentsGet my children
/studentsAdd child
/students/:idUpdate child info
/students/:id/progressGet child progress notes
/messagesGet message threads
/messagesSend message
/messages/:threadIdGet message thread
/reviewsSubmit lesson review
/reviews/:coachIdGet coach reviews
POST /auth/login
{
"email": "user@example.com",
"password": "password"
}
Response: { "token": "...", "user": {...} }Headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}{
"success": true,
"data": { /* response data */ },
"error": null
}