For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support center
HomeGuidesAPI referencesChange log
HomeGuidesAPI referencesChange log
  • PMS API
    • Introduction
    • Best practices
    • Error manual
    • Webhooks
  • Duve Connect
    • Introduction
    • Best practices
    • Outgoing webhooks
    • Incoming Duve Connect
  • Open API
    • Introduction
    • Best practices
    • Error manual
    • Rate limit
    • Postman guide
Support center
LogoLogo
On this page
  • Best Practices and Use Cases for Duve PMS API
  • Efficient Accommodation Management
  • Secure Authentication and Rate Limiting
  • Webhook Integration for Real-time Updates
  • Use cases
PMS API

Best practices

Was this page helpful?
Previous

Error manual

Next
Built with

Best Practices and Use Cases for Duve PMS API

Best Practices and Use Cases for Duve PMS API

Efficient Accommodation Management

Utilize the API to seamlessly create and update accommodation units in the Duve platform:

  • Use the ‘create’ and ‘update’ events for managing accommodation units
  • Include all required fields in the payload (e.g., id, status, name, address details)
  • Leverage optional fields for comprehensive property information
  • Example: Create a new room with detailed specifications including WiFi credentials and check-in/out times

Secure Authentication and Rate Limiting

Implement robust authentication and respect rate limits:

  • Use bearer token authentication for all API requests
  • Send the token via the ‘X-Wishbox-Auth-Token’ header
  • Obtain the API Key and account ID from the Duve connection page
  • Handle rate limits (60 requests per minute) to ensure uninterrupted service

Webhook Integration for Real-time Updates

Leverage webhooks for efficient data synchronization:

  • Set up your endpoint in the Duve connection page to receive real-time updates
  • Configure to receive POST requests with JSON payloads for various events
  • Implement custom headers to verify authenticity of requests from Duve
  • Example: Receive instant notifications for new reservations or updates to existing ones By following these best practices, developers can create robust, efficient, and secure integrations with the Duve PMS API, enhancing the overall guest management experience.

Use cases

Here are a few use cases of useage with the Duve API that can explain how you should interact with the Duve PMS API developing your integration.

alt text

alt text

alt text

alt text

alt text

alt text