---
title: "Get property by listing IDs (v1)"
method: POST
path: "/api/v1/properties/match-by-listings"
tags: ["api---properties"]
---

# Get property by listing IDs (v1)

`POST /api/v1/properties/match-by-listings`

## Request

- Base URL: `https://api.casafari.com`
- URL: `https://api.casafari.com/api/v1/properties/match-by-listings`
- Auth: HTTP bearer

Returns a mapping properties IDs to listing IDs.

## Request body

- ApiPropertiesSearchByListingIDsRequestV1
  - `listing_ids` integer[], required: List of listing IDs.

## Response `200`

- ApiPropertiesSearchByListingIDsResponseV1
  - `property_id` integer, required: ID of the property.
  - `listing_ids` integer[], required: List of listing IDs.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/casafari/apis/casafari-api.md) · [All operations](https://skmtc.dev/casafari/apis/casafari-api/llms.txt) · [OpenAPI document](https://skmtc.dev/casafari/apis/casafari-api/revisions/6743b99d4bf9?raw)
