BETA

Returns the property types (apartment, house, land, etc.) actually used in the customer's listings. customerId is resolved from the access token.

Resource information
AuthenticationRequired (API Token, Bearer)
HTTP MethodGET
ResponseJSON
Version1
Cache1 day

Resource URL

https://mapaprop.app/api/action/mapaprop-chat-ai-v1/types

Parameters

This endpoint does not receive parameters.

Sample code

GET /api/action/mapaprop-chat-ai-v1/types HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer {access_token}

Response

ObjectFieldTypeRequiredDescription
ResponsetypesArray of TypeyesThe list of types used by the customer
TypeidintyesProperty type ID. Constants
descriptionstringyesTranslated description of the type

Sample response

{
    "types": [
        { "id": 1, "description": "Departamento" },
        { "id": 2, "description": "Casa" },
        { "id": 4, "description": "Terreno" }
    ]
}