Volver al panel
Información de Sincronización D'Broker
URL del Endpoint
Configuración Requerida
Headers
Authorization: Bearer [TU_SYNC_KEY] Content-Type: application/json
Tu SYNC_KEY está en Dashboard → Settings → Environment Variables
Body (JSON Array)
[
{
"id": "dev_123",
"name": "Residencial XYZ",
"slug": "residencial-xyz",
"description": "...",
"property_type": "casa",
"status": "preventa",
"price_from": 3500000,
"price_to": 5200000,
"city": "Mérida",
"zone": "Zona Norte",
"address": "Calle X, Mérida",
"latitude": 21.0285,
"longitude": -89.5886,
"main_image": "https://...",
"gallery": ["https://...", "https://..."]
}
]Campos Soportados
• id (requerido)
• name (requerido)
• slug
• description
• property_type
• status
• price_from / price_to
• area_from / area_to
• bedrooms_from / to
• bathrooms_from / to
• city
• zone
• address
• latitude / longitude
• main_image
• gallery (array)
Método de Prueba
Con cURL:
curl -X POST https://traddacapital.com/functions/dbrokerSync \
-H "Authorization: Bearer TU_SYNC_KEY" \
-H "Content-Type: application/json" \
-d '[{"id":"test","name":"Test Dev","slug":"test-dev","property_type":"casa","status":"preventa","price_from":1000000,"city":"Mérida"}]'