Parrot Realty

Platform API

Backend for the marketplace website, CRM dashboard and field app. Staff endpoints currently need Authorization: Bearer $INTERNAL_API_TOKEN until staff login is added.

GET/api/v1/locations/search?q=bathTyped location suggestions (public)
GET/api/v1/locations/pincode/670721Pincode → district, taluk, panchayath, villages, tags (public)
POST/api/v1/public/enquiriesWebsite enquiry → customer + lead (public)
GET / POST/api/v1/propertiesList / create properties, auto-tagged by pincode (staff)
POST/api/v1/uploads/presignPresigned R2 upload URLs for photos, videos, documents (staff)
POST/api/v1/uploads/completeConfirm uploads, set cover photo (staff)
GET/api/v1/media/:id/urlView URL; signed 5-minute link for private files (staff)
GET/api/v1/leadsLead queue (staff)
GET / POST/api/v1/dealsDeal pipeline with stage counts + totals / create deal (staff)
POST/api/v1/deals/:id/stageMove stage; Lost needs a reason (staff)
POST/api/v1/deals/:id/lockerActivate Parrot Locker Key for a Won deal (staff)
POST/api/v1/locker-documents/:id/shareShare a document with the customer (staff)
POST/api/v1/portal/invite/acceptCustomer sets password from invitation
POST / GET/api/webhooks/voxbay?token=…Voxbay call events → calls, customers, leads, call-back tasks