Endoville Backend API Documentation¶
Welcome to the Endoville Backend API Documentation.
Overview¶
This API provides user management, authentication, account activation, and blog content.
Getting Started¶
Base URLs¶
- Users:
https://api.endovillehealth.com/api/users/ - Blogs:
https://api.endovillehealth.com/api/blogs/ - Products:
https://api.endovillehealth.com/api/products/ - Orders:
https://api.endovillehealth.com/api/orders/
Authentication¶
Most endpoints require JWT authentication. You'll receive access and refresh tokens after successful login.
API Endpoints¶
- User Registration
- Account Activation
- OTP Management
- Authentication
- Google OAuth Login
- User Profile
- Staff Check
- Blogs
- Products
- Orders
- Payments
- Shipments
Response Format¶
All responses are in JSON format.
Success Response¶
Error Response¶
Status Codes¶
200 OK- Request successful201 Created- Resource created successfully400 Bad Request- Invalid request data401 Unauthorized- Authentication required404 Not Found- Resource not found500 Internal Server Error- Server error