← Home Publish Property

Publish Property

POSThttps://api.bayut.com/v1/properties/{property_id}/products/attach

This endpoint is used to publish a property, must include the mentioned payload in the request. When publishing a property for the first time in a location that requires a permit number, the publication is deferred. The property is published only after the permit number is validated by the relevant registration authority.

  • The Publish Property API (POST /api/v1/properties/{property_id}/products/attach) now supports posting to multiple portals (Bayut and Dubizzle) simultaneously when publishing a property.

  • Portals Array Restriction: The portals array can only be used when publishing a property.

  • Mutual Exclusivity: You cannot use both portal and portals fields in the same request

  • Product Auto-Default: If product is not provided, it automatically defaults to publishing listing

🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
NameTypeRequiredDescriptionExample
property_idstringOptional12570945
productstringOptionalName of the producthot
portalstringOptionalPortal of the productbayut
portalsstringOptionalArray of portals , required when portal is not available
messagestringOptionalSuccess Message
Responses
200
422⚠️
401⚠️
403⚠️
Code Examples
curl --location 'https://api.bayut.com/v1/properties/12570945/products/attach' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "portal": "bayut"
}'
{
    "message": "Product attached successfully"
}