Fix Microsoft Bookings API Rounding Time Increments to 15 Minutes
Question details
Developers are noticing a discrepancy where the Microsoft Bookings API returns a different time increment than the custom value configured in the Bookings web interface.

- Product
- Microsoft Bookings API
- Device & OS
- not provided
- Scenario
- Retrieving bookable time slots and scheduling intervals programmatically using the Microsoft Bookings API.
- Observed behavior
- The API automatically rounds the timeSlotInterval property up to the nearest 15-minute interval, changing values like 5 or 10 minutes to 15 minutes, and 20 or 25 minutes to 30 minutes.
Verify the current time increment settings configured in your Microsoft Bookings page UI and ensure you have administrative access to modify the application code handling your API responses.
Align Bookings UI Configurations with Supported API Intervals
Configure the Microsoft Bookings interface to use standard 15-minute intervals to ensure consistency with the API's rounding behavior.
Because the Microsoft Bookings API enforces a minimum 15-minute interval for the timeSlotInterval property, setting your visual UI to match this constraint is the easiest way to prevent unexpected booking behavior and sync errors.
Log in to your Microsoft 365 account and navigate to the Microsoft Bookings web application.
Click on 'Services' in the left-hand navigation menu and select the specific booking service you want to edit.
Scroll down to the 'Default duration' or scheduling policy section and change the time increments to a multiple of 15 minutes (e.g., 15, 30, 45, or 60 minutes).
Click 'Save' at the top of the page. Your API responses will now perfectly match the UI configurations.

Update Application Logic to Handle Rounded Intervals
Modify your application's source code to expect and properly process the rounded 15-minute intervals returned by the timeSlotInterval property.
Need a Lightweight Alternative to Manage Your Documents? Try WPS Office
While managing APIs requires complex backend handling, handling your daily documents doesn't have to be complicated. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for creating, editing, and sharing documents, spreadsheets, and presentations.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installer file and follow the on-screen instructions to complete the setup process.
- 3. Open Your Documents: Launch WPS Office and easily open existing files or create new documents, spreadsheets, and presentations.

Frequently Asked Questions
What is the minimum time slot duration supported by the Microsoft Bookings API?
The minimum supported slot duration in the Microsoft Bookings API is 15 minutes. Any configured value lower than this will be automatically rounded up to 15 minutes in the JSON response.
Why does a 20-minute time increment in the UI become 30 minutes in the API?
The Microsoft Bookings API is designed to round the timeSlotInterval property up to the nearest 15-minute interval. Therefore, a 20-minute setting exceeds the 15-minute threshold and is immediately rounded up to 30 minutes.
Can I force the Microsoft Bookings API to return 5-minute increments?
No, the API currently limits the smallest bookable interval to 15-minute increments. You must either handle this discrepancy within your custom application code or update your Bookings UI settings to use multiples of 15.




