Configuration

Two configuration keys are provided by Allbookers when your affiliate is set up. All API calls use a consistent header and date format.

Configuration Keys

Allbookers provides these two values to your affiliate at onboarding time:

KeyDescriptionProduction Value
allbookers.api-url The Allbookers backend API base URL. https://www.allbookers.com
allbookers.panel-url The management panel URL. Used to link hotel owners back to their dashboard. https://panel.allbookers.com

Request Format

All API calls must include the Content-Type header, and all dates must follow the specified format:

Header / FormatValue
Content-Type application/json
Date Format MM/dd/yyyy — e.g. 04/14/2026
Date format is strict

All date fields in request bodies must use MM/dd/yyyy. Using ISO format (yyyy-MM-dd) will result in parse errors.

Example Configuration

Add these values to your configuration file:

application.properties
allbookers.api-url=https://www.allbookers.com
allbookers.panel-url=https://panel.allbookers.com