Skip to main content
All CollectionsDashboardConnections
Connections and Webhooks
Connections and Webhooks
Lucia Burin Sestakova avatar
Written by Lucia Burin Sestakova
Updated over a week ago

Connections

Connect to online travel agencies (OTAs) and distribute your products through an extensive network of resellers and operators.

Our Connectivity section provides a comprehensive overview of existing connections and detailed, step-by-step guidance to help create these connections.

​


Webhooks

πŸ“’ NOTE

Before you begin, you need to have at least one connection configured in the Ventrata dashboard. For detailed instructions, refer to the Connectivity section in the Ventrata Help Center.

Webhooks allow you to send data in real-time when specific events occur. You can create webhooks through either the Ventrata dashboard or via API.

  • For API-based webhook creation, follow our developer documentation.

  • For dashboard-based setup, follow the steps below:

  1. In your Ventrata dashboard, go to Connections > Webhooks.

  2. Press the + New Webhook button.

  3. Select a connection from the list of your existing connections.

  4. Check the following options as appropriate:

    • Use customer language - the webhook body is in the language configured by the customer during booking.

    • Retry on error - retries the webhook if the HTTP endpoint does not return a success status.

  5. Choose an event to trigger the webhook.

    • Order Update - triggered when an existing order is confirmed, updated or cancelled

    • Booking Update - triggered when an existing booking is confirmed, updated or cancelled

    • Availability Update - triggered when an availability changes

    • Product Update - triggered when a product is changed

  6. Enter the URL to be called when the webhook is triggered.

  7. Select the capabilities that will be activated before triggering the webhook. These settings determine the data included in the webhook body.

  8. You can provide additional metadata in the 'Headers' field.


    πŸ“— TIP

    Headers can be specified in JSON-like structure. Examples include:

    • content type of the response: "Content-Type": "application/json"

    • credentials for authentication: "Authentication": "Bearer <your_token>"


  9. Press the Create Webhook button.

Did this answer your question?