PropHunt.ai APIs

Create New Ad (Listing/Requirement)

This api allows to to create listings/requirents on PropHunt.ai throught one simple request. All the status updates will be sent to you on the callback url provided by you.You can integrate this api with your CRM to manage inventory.End Points
POST
/create-new-ad
Request Header
KeyValue
externalauthYour API Key
Request BodyMandatory Parameters
KeyTypeValue
adTypestringType of ad : ["lookingtobuy", "lookingtorent", "listforsale", "listforrent"]
descriptionstringA brief description of the property or requirement.
callbackUrlstringThe URL to receive ad updates.
externalRefIdstringA unique reference ID for tracking the ad.
Optional Parameters
KeyTypeValue
imageUrlsarrayList of image URLs for the property.
bedroomsintegerNumber of bedrooms.
carpetAreaintegerTotal carpet area in square feet.
bathroomsintegerNumber of bathrooms.
Any Other Extra DetailstringAny additional information.
Sample Request
{
  "mandatory": {
    "adType": "listforsale",
    "description": "Luxury 3BHK apartment in downtown with premium amenities.",
    "callbackUrl": "https://yourapp.com/api/listing-update",
    "externalRefId": "ABC123XYZ"
  },
  "optional": {
    "imageUrls": [
      "https://yourcdn.com/images/property1.jpg",
      "https://yourcdn.com/images/property2.jpg"
    ],
    "bedrooms": 3,
    "carpetArea": 1500,
    "bathrooms": 2,
    "facingDirection": "East",
    "nearbyLandmarks": "Metro Station",
    "customTag": "Luxury"
  }
}
Sample Response
{
  "status": "success"
}
Status UpdatesThe callback will be sent on the following status updates:
Draft
Active
Duplicate
Expired