



{"success":true,"message":"Welcome to Rishthey Matrimonial API","version":"v1","endpoints":{"auth":{"POST \/api\/auth\/register":"User registration","POST \/api\/auth\/login":"User login","POST \/api\/auth\/verify-otp":"Verify OTP","POST \/api\/auth\/resend-otp":"Resend OTP","POST \/api\/auth\/reset-password":"Reset password","POST \/api\/auth\/logout":"User logout"},"profile":{"GET \/api\/profile\/get-profile":"Get own profile","PUT \/api\/profile\/update-profile":"Update profile","POST \/api\/profile\/upload-photo":"Upload profile photo (Enhanced with multiple slots)","GET \/api\/profile\/get-photos":"Get all profile photos with detailed information","DELETE \/api\/profile\/delete-photo":"Delete profile photo (Enhanced with slot management)","POST \/api\/profile\/set-primary-photo":"Set primary photo by slot","POST \/api\/profile\/reorder-photos":"Reorder profile photos","GET \/api\/profile\/get-profile-by-id\/{id}":"Get profile by ID","GET \/api\/profile\/get-profile-by-profile-id\/{profile_id}":"Get profile by ProfileID (profile table PK)","GET \/api\/profile\/get-profile-visitors":"Get profile visitors","GET \/api\/profile\/get-profile-viewed":"Get profiles viewed by user","GET \/api\/profile\/get-proposal-statistics":"Get proposal statistics","GET \/api\/profile\/get-rishthe-recommendations":"Get Rishthe recommendations","POST \/api\/profile\/skip-profile":"Skip a profile","POST \/api\/profile\/report-profile":"Report a profile","GET \/api\/profile\/get-my-reported-profiles":"Get profiles I have reported","GET \/api\/profile\/get-reported-profiles":"Get all reported profiles (Admin)","PUT \/api\/profile\/update-report-status":"Update report status (Admin)","POST \/api\/profile\/block-profile":"Block a profile","PUT \/api\/profile\/unblock-profile":"Unblock a profile","GET \/api\/profile\/get-blocked-profiles":"Get blocked profiles list (structure like shortlisted: blocked array with full profile)","GET \/api\/profile\/check-if-blocked":"Check if a profile is blocked","GET \/api\/profile\/get-new-profiles":"Get new profiles (recently created, ordered by date)"},"search":{"POST \/api\/search\/search-profiles":"Search profiles with filters","GET \/api\/search\/recommended-profiles":"Get recommended profiles","GET \/api\/search\/search-by-id":"Search profile by ID\/username","GET \/api\/search\/get-special-abled-profiles":"Get specially abled profiles","GET \/api\/search\/get-cities":"Get city names with lat\/long for auto-suggestion (India only)"},"interests":{"POST \/api\/interests\/send-interest":"Send interest to profile","PUT \/api\/interests\/respond-interest\/{id}":"Accept\/decline interest","GET \/api\/interests\/get-interests":"Get user interests","POST \/api\/interests\/shortlist-profile":"Add\/remove from shortlist","GET \/api\/interests\/get-shortlisted":"Get shortlisted profiles"},"messages":{"GET \/api\/messages\/get-conversations":"Get user conversations","GET \/api\/messages\/get-messages\/{id}":"Get messages from conversation","POST \/api\/messages\/send-message":"Send message"},"notifications":{"GET \/api\/notifications\/get-notifications":"Get user notifications","PUT \/api\/notifications\/mark-read\/{id}":"Mark notification as read"},"preferences":{"GET \/api\/preferences\/get-notification-preferences":"Get notification preferences","PUT \/api\/preferences\/update-notification-preferences":"Update notification preferences","GET \/api\/preferences\/get-partner-preferences":"Get partner preferences","PUT \/api\/preferences\/update-partner-preferences":"Update partner preferences"},"payment":{"GET \/api\/payment\/get-premium-plans":"Get premium plans","POST \/api\/payment\/create-payment":"Create payment order","POST \/api\/payment\/verify-payment":"Verify payment","GET \/api\/payment\/get-payment-history":"Get payment history","POST \/api\/payment\/create-refund":"Create payment refund","GET \/api\/payment\/get-refund-history":"Get refund history","GET \/api\/payment\/get-user-subscription":"Get user subscription status","POST \/api\/payment\/check-plan-usage":"Check plan usage (sp_Use_Plan_Feature)"},"compatibility":{"POST \/api\/compatibility\/calculate-compatibility":"Calculate compatibility between users","GET \/api\/compatibility\/get-compatibility-matches":"Get compatibility matches","GET \/api\/compatibility\/get-compatibility-history":"Get compatibility history","GET \/api\/compatibility\/get-compatibility-stats":"Get compatibility statistics"},"inform":{"POST \/api\/inform\/inform-rishthe":"Submit report or inform Rishthe team","GET \/api\/inform\/get-my-reports":"Get user's submitted reports","GET \/api\/inform\/get-report-details":"Get detailed report information","GET \/api\/inform\/get-report-options":"Get report types and options"},"verification":{"POST \/api\/verification\/upload-document":"Upload verification document","POST \/api\/verification\/upload-government-document":"Step 1: Upload government document (Voter ID, Aadhaar, etc.)","POST \/api\/verification\/upload-selfie":"Step 2: Upload selfie photo or video","POST \/api\/verification\/submit-verification":"Step 3: Submit verification request for review","GET \/api\/verification\/get-documents":"Get uploaded documents","GET \/api\/verification\/get-verification-status":"Get verification status","GET \/api\/verification\/serve-file":"Serve verification file securely","PUT \/api\/verification\/verify-profile":"Verify or reject profile (Admin)","GET \/api\/verification\/get-pending-verifications":"Get pending verifications (Admin)","GET \/api\/verification\/get-verification-analytics":"Get verification analytics (Admin)"},"files":{"GET \/api\/files\/serve-profile-image\/{filename}":"Serve profile images securely"},"masters":{"GET \/api\/masters":"Get all master data for dropdowns (no auth required)","GET \/api\/masters\/get-education-categories-by-online-name":"data.education_categories + data.marital_status: { title, ids[] } per online group; optional filters online_education_category_name, online_marital_status_name (and *_id)"},"events":{"GET \/api\/events\/check-online-event":"Check if online event is active (optional datetime parameter)"},"request":{"POST \/api\/request\/create-request":"Create a new raise request (support ticket)","GET \/api\/request\/get-my-requests":"Get user's raise requests with filters","GET \/api\/request\/get-request-details":"Get detailed information about a specific raise request","PUT \/api\/request\/update-request-status":"Update raise request status (Admin\/Support)","POST \/api\/request\/add-followup":"Add a follow-up message to a raise request","GET \/api\/request\/get-followups":"Get all follow-up messages for a raise request"},"account":{"GET \/api\/account\/get-delete-reasons":"Get all active delete reasons (no auth required)","POST \/api\/account\/send-delete-otp":"Send OTP for account deletion verification","POST \/api\/account\/submit-delete-request":"Submit delete account request with OTP verification and call stored procedure"},"advertisement":{"GET \/api\/advertisement\/get-advertisements":"Get active advertisements (optional page_name filter, no auth required)"},"success-story":{"GET \/api\/success-story\/get-success-stories":"Get success stories list (optional page, limit; no auth)","GET \/api\/success-story\/get-success-story-by-id":"Get success story by ID (?id=; no auth)","POST \/api\/success-story\/create-success-story":"Create success story (story, rating, profile_id, image; auth required)"}},"documentation":"See README.md for detailed API documentation","timestamp":"2026-05-23 10:58:06"}