WhatsApp Astrology API is live.
This server handles WappBoost incoming messages, Razorpay payment callbacks, registration flow, daily astrology reports, and admin data APIs. It is a backend service, so the important URLs are the API routes below.
Current Setup
These are the main live URLs you will use after deployment.
https://astrowhatsapp.ctrlab.in
https://astrowhatsapp.ctrlab.in/api/webhooks/wappboost?secret=YOUR_SECRET
https://astrowhatsapp.ctrlab.in/api/webhooks/razorpay
https://astrowhatsapp.ctrlab.in/api/scheduler/daily
Main Routes
These are the important endpoints currently available in the project.
Simple JSON status check for the running API.
Receives incoming WhatsApp messages from your WappBoost setup.
Receives Razorpay payment events and activates subscriptions.
Returns current subscription plans and pricing.
Creates a Razorpay order for a registered user and selected plan.
Triggers the daily astrology report send job.
Protected admin endpoint for user list and search.
Protected admin endpoint for subscriptions overview.
How This Backend Works
A quick beginner-friendly flow for understanding the project.
WappBoost sends the incoming text to this backend webhook.
Name, DOB, birth time, and birth place are stored before service starts.
Gemini and your business logic generate daily readings and question replies.
Razorpay webhooks update the user subscription after successful payment.
Useful Test Links
Open these to quickly check that the deployment is working.