360HomeSub API Playground
Test the API endpoints directly from your browser. Enter your JWT token in the sidebar to test authenticated endpoints.
Auth
POST /api/auth/register_email.php
Registers a new user with their email and password.
POST /api/auth/register_phone.php
Registers a new user with their phone number and password.
POST /api/auth/verify_otp.php
Verifies the OTP sent to the user.
POST /api/auth/login.php
Logs in a user with their email/phone and password.
POST /api/auth/google_auth.php
Authenticates a user with a Google ID token.
POST /api/auth/set_password.php
Sets a user's password (for Google registration or password change).
Onboarding
POST /api/onboarding/set_profile.php
Sets the user's profile information.
POST /api/onboarding/set_location.php
Sets the user's location.
POST /api/onboarding/upload_avatar.php
Uploads a user's avatar.
POST /api/onboarding/set_role.php
Sets the user's role.
KYC
GET /api/kyc/kyc_status.php
Retrieves the user's KYC status.
POST /api/kyc/start_kyc.php
Starts the KYC process.
POST /api/kyc/upload_documents.php
Uploads KYC documents.
POST /api/kyc/upload_selfie.php
Uploads a selfie for KYC.
Dashboard
POST /api/dashboard/home.php
Retrieves dashboard data.
Properties
POST /api/properties/list.php
Lists properties.
POST /api/properties/search.php
Searches properties.
POST /api/properties/view.php
Views a property.
Admin
POST /api/admin/login.php
Logs in an admin.
GET /api/admin/kyc_list.php
Lists KYC applications.
POST /api/admin/approve_kyc.php
Approves a KYC application.
POST /api/admin/reject_kyc.php
Rejects a KYC application.