Discussions

Ask a Question
Back to All

Calendar/Availability Endpoint 404 Error - Integration Help Needed

I’m working on integrating the Lodgify API for a vacation rental booking system and encountering issues with the calendar/availability endpoints. I've tried multiple endpoint variations but consistently receive 404 errors.

Implementation Details:

API Version: v1
Authentication: Basic Auth (properly encoded)
Endpoint attempted: /calendars/{property_id}
Troubleshooting Steps Taken:

Verified API key format and encoding
Tried different endpoint variations:
/calendars/{id}
/rentals/{id}/calendar
/availabilities
Confirmed proper date formatting
Tested with both v1 and v2 API base URLs
Verified Basic Auth implementation
Could you please:

Confirm the correct endpoint structure for retrieving calendar/availability data
Verify if the authentication implementation approach is correct
Provide an example of the expected endpoint structure
Share any additional required headers or parameters
Error Response:

Status: 404
Headers: {
'cf-cache-status': 'DYNAMIC',
'content-length': '0'
}