RESTful
Modern API architecture with JSON responses and standard HTTP methods.
Secure
OAuth 2.0 authentication with API key support and rate limiting.
Documented
Complete API reference with examples, SDKs, and webhook guides.
1 Authentication
All API requests require authentication using an API key or OAuth 2.0 token.
curl -X GET "https://api.gymflow360.com/v1/members" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
2 Core Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v1/members |
GET | List all members |
/v1/members/:id |
GET | Get member details |
/v1/members |
POST | Create new member |
/v1/members/:id |
PUT | Update member |
/v1/attendance |
POST | Record attendance |
/v1/payments |
GET | List payments |
/v1/classes |
GET | List scheduled classes |
/v1/reports |
GET | Generate reports |
3 Response Format
All responses are returned in JSON format with consistent structure.
{
"success": true,
"data": {
"id": "usr_abc123",
"name": "John Doe",
"email": "[email protected]",
"membership": {
"plan": "Monthly",
"status": "active",
"expires_at": "2024-03-15"
}
},
"meta": {
"timestamp": "2024-02-15T10:30:00Z",
"version": "v1"
}
}
Rate Limits
1,000
Requests per minute
50,000
Requests per day
10
Concurrent connections
Webhooks
Subscribe to real-time events for member actions, payments, and more.
member.created
member.updated
payment.received
attendance.recorded
membership.expired
Ready to Start Building?
Get your API key from the admin dashboard and start integrating today.