Webhooks
Partners APIs gives you the possibility to stay up to date with changes from our system without making requests at a certain time interval. In order to accomplish this, you have to implement 4 endpoints and send them to your Engagement Manager.
All requests are sent using POST method with JSON body.
Authentication
To stay secure, you will receive a webhooks password during onboarding process to secure your endpoints.
All requests sent are using basic authentication with username and webhooks password. If authentication fails, return a standard HTTP status codes, such as 401 (Unauthorized) or 403 (Forbidden).
Webhooks endpoint
Property changed
When you receive property change notification you have to make request to Property details endpoint to retrieve property updated details.
Request body
{
"property" => [PROPERTY_ID]
}
Availability changed
When you receive availability changed notification you have to make request to Availability endpoint to retrieve property availability.
Request body
{
"property" => [PROPERTY_ID]
}
Rates changed
When you receive rates changed notification you have to make request to LOS rates endpoint to retrieve property rates.
Request body
{
"property" => [PROPERTY_ID]
}
Booking changed
When you receive reservation changed notification you have to make request to Reservation details endpoint to retrieve reservation updated details.
Request body
{
"booking" => [PROPERTY_ID]
}
Going live
Before you go live with your integration, we recommend contacting our support team.
Support & feedback
Need help integrating with Content API? The experts in our support team are here to help. Contact us at contact@rentalwise.com.