> For the complete documentation index, see [llms.txt](https://developer.pricepoint.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.pricepoint.co/required-api-calls/get-prices.md).

# Get Price Recommendations

The connected PMS/CM must receive price recommendations generated by Pricepoint (SELL RATE) to further push it to OTAs and other channels.&#x20;

The prices can be received via webhook. See below for the integration steps.

1\) Create incoming webhook on the PMS side, which receives hotel ID from Pricepoint:

<https://YOURSERVER.URL/YOUR_WEBHOOK_ENDPOINT?hotelId=89328a3d-b3dc-452b-93b3-a4189b866d71>

2\) When your endpoint is ready you can either secure it in two ways:

a. Limit calls by IP of our service from app.pricepoint.co.

b. Use the hotel's account in Pricepoint app to enter a secret key or a token that will authenticate Pricepoint's requests.

![](/files/-MN056cZHdsBZUWeFYtW)

3\) Data format in the request which webhook should receive in POST:

```
[
   {
       "Date": "2020-10-03T00:00:00Z",
       "Price": 266.0,
       "IsClosed": false,
       "MinStay": 0,
       "RoomTypeId": "c35414bd-c8a0-4d33-a5ad-d1049ed84fa8"
   },
   {
       "Date": "2020-10-02T00:00:00Z",
       "Price": 263.0,
       "IsClosed": false,
       "MinStay": 0,
       "RoomTypeId": "c35414bd-c8a0-4d33-a5ad-d1049ed84fa8"
   },
   {
       "Date": "2020-10-04T00:00:00Z",
       "Price": 173.0,
       "IsClosed": false,
       "MinStay": 0,
       "RoomTypeId": "c35414bd-c8a0-4d33-a5ad-d1049ed84fa8"
   }
]

```
