properties

Publicar una propiedad

Crea una propiedad a nombre del usuario autenticado. Requiere OAuth2 con scope properties:write (flujo authorization_code + PKCE). Pasa por revisiones automáticas: si alguna falla responde 422 con los motivos y NO se publica. Las photos (URLs) se descargan y optimizan a WebP en R2.

post/properties

Request

  • Base URL: https://api.inmo.example/v1
  • URL: https://api.inmo.example/v1/properties
  • Auth: OAuth 2 (authorization code, authorization URL https://www.propfacil.com/oauth/authorize, token URL https://www.propfacil.com/api/oauth/token; client credentials, token URL https://www.propfacil.com/api/oauth/token, scopes: properties:write)

Request body

transactionType'ForSale' | 'ForLease' required
pricenumber required
currencystring
titlestring required
descriptionstring required
citystring required
statestring
bedroomsinteger
bathroomsnumber
areaSqmnumber
latitudenumber
longitudenumber
isCommercialboolean
photosstring[]

Response

Publicada (en vivo).

status'published'
idstring
pathstring
urlstring
photosUploadedinteger

Changes

No recorded changes to this operation across all 1 revision of this API.