manifest / integrations / houzezapi
Houzez API
REST API endpoints for Houzez Real Estate WordPress Theme
★ 2stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/waqasriaz/houzezapi/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Houzez API WordPress Plugin
A comprehensive REST API plugin for the Houzez Real Estate WordPress Theme, providing mobile app integration and external API access.
Overview
The Houzez API plugin transforms your Houzez real estate website into a powerful API-driven platform, enabling seamless integration with mobile applications, external services, and custom integrations.
Features
Core Functionality
- Property Management - Complete CRUD operations for property listings
- User Authentication - JWT-based authentication with social login support
- Agent & Agency Management - Comprehensive realtor profile management
- Media Handling - Image and document upload capabilities
- Advanced Search - Multi-criteria property search and filtering
Payment Integration
- Stripe & PayPal - Subscription and one-time payment processing
- Membership Packages - Flexible pricing models (free, per-listing, subscription)
- Automatic Billing - Recurring subscription management
Push Notifications
- OneSignal Integration - Real-time push notifications
- Firebase Support - Alternative push notification service
- User Preferences - Customizable notification settings
Social Authentication
- Facebook OAuth - Seamless Facebook login integration
- Google OAuth - Google account authentication
- Account Linking - Connect existing accounts with social profiles
API Endpoints
All endpoints are available under /wp-json/houzez-api/v1/
Authentication
POST /auth/login- User authenticationPOST /auth/register- User registrationPOST /auth/forgot-password- Password reset
Properties
GET /properties- List properties with filteringPOST /properties- Create new property listingGET /properties/{id}- Get specific property detailsPUT /properties/{id}- Update property listing
Users & Realtors
GET /agents- List real estate agentsGET /agencies- List real estate agenciesGET /users/{id}- Get user profilePUT /users/{id}- Update user profile
Payments
GET /payments/packages- List available packagesPOST /payments/subscribe- Create subscriptionPOST /payments/cancel- Cancel subscription
Notifications
POST /notifications/register- Register device for push notificationsGET /notifications/preferences- Get notification settingsPUT /notifications/preferences- Update notification preferences
Installation
-
Prerequisites
- WordPress 5.0 or higher
- Houzez Theme (required)
- PHP 7.4 or higher
-
Plugin Installation
- Upload plugin files to
/wp-content/plugins/houzez-api/ - Activate the plugin through WordPress admin
- Configure API settings in Houzez API menu
- Upload plugin files to
-
API Key Setup
- Generate API keys in WordPress admin
- Configure authentication settings
- Set up social login credentials (optional)
Configuration
Push Notifications
- Create OneSignal or Firebase account
- Add credentials in Houzez API > Push Notifications
- Configure notification templates
- Test notification delivery
Payment Gateway
- Set up Stripe and/or PayPal accounts
- Add API credentials in Houzez API > Payments
- Configure membership packages
- Test payment flow
Social Login
- Create Facebook/Google OAuth apps
- Add client IDs and secrets in Houzez API > Social Login
- Configure redirect URLs
- Test social authentication
Development
API Testing
# Test authentication
curl -X POST https://yoursite.com/wp-json/houzez-api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"user","password":"pass"}'
# Test with JWT token
curl -H "Authorization: Bearer YOUR_JWT_TOKEN" \
https://yoursite.com/wp-json/houzez-api/v1/properties
Custom Development
- Follow WordPress coding standards
- Use provided base classes for extensions
- Implement proper permission callbacks
- Sanitize and validate all inputs
Support
For technical support and documentation:
- Check
/docs/directory for detailed API documentation - Use
/tests/directory files for debugging - Enable WordPress debug logging for troubleshooting
License
GPL v2 or later
Author
Waqas Riaz