Docs/API Reference/Unit Blocks & Group Holds

Get one unit block with every unit it covers

Unit Blocks & Group Holds · GET /v1/unit-blocks/:id

Get one unit block with every unit it covers

GET/v1/unit-blocks/:id

Note

The id is the PMS's block id (for Cloudbeds, the room block id). Guide: /docs/multi-unit#unit-blocks

Request

curl https://api.repull.dev/v1/unit-blocks/17961907985432547 \
  -H "Authorization: Bearer $REPULL_API_KEY"

Response

{
  "id": "17961907985432547",
  "type": "out_of_service",
  "startDate": "2027-03-10",
  "endDate": "2027-03-12",
  "reason": "Repainting",
  "units": [
    { "listingId": "30908", "unitId": "679314-2" },
    { "listingId": "30908", "unitId": "679314-3" }
  ],
  "guest": null,
  "holdHours": null,
  "expiresAt": null,
  "provider": "cloudbeds",
  "createdAt": "2027-02-01T14:03:11.000Z",
  "updatedAt": "2027-02-01T14:03:11.000Z"
}
AI