# Facilities Slot Booking

Bookable facilities Slots are identifiable in our platform by the presence of `imin:checkoutUrlTemplate`.

{% hint style="info" %}
You can read more about the `imin:checkoutUrlTemplate` [here](https://docs.imin.co/incorporating-book-and-pay/imin-checkout-branding/setup/part-ii-actions-you-need-to-complete#add-a-book-button-using-theimin-checkouturltemplate).
{% endhint %}

When booking is implemented within the Facilities API, the `imin:checkoutUrlTemplate` will be located in the `Slot` object for bookable facilities and returned in both [`mode=upcoming-slots`](https://docs.imin.co/imin-facilities-api/query-parameter-search#upcoming-slots) (so long as the `startDate` parameter is included) and [`ByID`](https://docs.imin.co/platform-products/search/imin-facilities-api/byid-search) searches.&#x20;

The `Slot` object can be found in either `FacilityUse.event[]` or `FacilityUse.event[].event[]` depending on the underlying provider data structure.

{% hint style="danger" %}
Because [`mode=discovery-geo`](https://docs.imin.co/imin-facilities-api/query-parameter-search#discovery-geo) will **not** return `Slot` objects, it will **not** include the `imin:checkoutUrlTemplate`.
{% endhint %}

When searching [`ByID`](https://docs.imin.co/platform-products/search/imin-facilities-api/byid-search), the `imin:checkoutUrlTemplate` can be found in both [`FacilityUse By-ID`](https://docs.imin.co/platform-products/search/imin-facilities-api/byid-search/facilityuse-by-id) (accessible via `event[].id or event[].event[].id`) and [`Slot By-ID`](https://docs.imin.co/platform-products/search/imin-facilities-api/byid-search/slot-by-id) .

{% hint style="info" %}
The URL for the [`FacilityUse By-ID`](https://docs.imin.co/platform-products/search/imin-facilities-api/byid-search/facilityuse-by-id) route will look like `https://search.imin.co/facilities-api/v2/facility-uses/{FacilityUse.identifier}`.

The URL for the [`Slot By-ID`](https://docs.imin.co/platform-products/search/imin-facilities-api/byid-search/slot-by-id) route will look like `https://search.imin.co/facilities-api/v2/slots/{Slot.identifier}`.&#x20;
{% endhint %}
