December 2024
Cloudbeds API - Night Audit webhook
The following communication was sent to Cloudbeds partners in November and December 2024
This quarter, we’ve introduced changes to our Night Audit, a process properties need to run every day. Previously, the Cloudbeds Night Audit happened automatically at 2am local time every night. This works for some properties but doesn't offer the flexibility and control required by others.
As a result, starting on December 11th, Cloudbeds’ General System Settings enables properties to configure their desired Night Audit behavior. Here’s how it works:
-
The setting defaults to “02:00 AM” for all existing properties and new properties added to Cloudbeds.
-
Users can update these settings using a drop-down menu that lets them select any time between 12:00 AM (00:00) and 06:00 AM in 30-minute increments.
As of December 11th, we’ve introduced a new webhook with the following format that is triggered when the Night Audit has finished. Since the Night Audit has always happened at a set time, you might have logic in place to trigger an action at a specific time, e.g., 4 a.m.
Now that the Night Audit is configurable, relying on that set time no longer works, and you should adapt to the new webhook according to the property's Night Audit time preference, as notified in our previous communication in November.
The Webhook will trigger when the Accounting Service is finished with Night Audit and will include the following details:
* Name: night_audit
* Event: completed
* Metadata: version, propertyID, night audit date, timestamp
{
“version”: “1.0”,
"propertyID": 12345,
"event": "night_audit/completed",
"night_audit_date": "MM-DD-YYYY"
"timestamp": 1611758157.431234
}