Pro Feature: This functionality is available on the Pro plan. You can find more information here: How to update and manage your WeTravel subscription?
Many WeTravel clients use software systems such as CRMs, tour ERPs, custom databases, proposal builders, or accounting programs. Our private APIs automate data exchange between any number of these programs and WeTravel; use it to send data to or retrieve data from our platform.
What functionality do WeTravel's APIs currently include?
Authentication API
Payment Links API
Trip Builder API
Booking API
Transactions API
Suppliers API
Leads API
Greater detail on the endpoints for each of these APIs is provided here.
How can I get started exploring WeTravel's APIs?
In order to build the integration, you will first need an API token - a unique identifier that a website or software uses to access your WeTravel booking data. There are no extra charges for WeTravel Pro account holders, and it only takes a moment for you to generate a token on your WeTravel account.
Just go to your Account:
Then Profile:
And scroll all the way down to Partner API Integration:
Click on the "Generate API Key" button to get an API access token ("refresh token"). Please store your token in a safe place, as it will not be visible in your WeTravel account.
The token you generate is not able to directly call the API, but can be used to retrieve the "access token". The new access token will be used to call the API.
The refresh token can be used an unlimited number of times to generate an access token.
Click on "Explore API Documentation" to access our private API documentation.
How can I set up Webhooks?
After you have authenticated your API Key, you will see a new section called "Webhooks" right below "Partner API Integration."
Before you ask, Webhooks are one of the ways your online accounts can "speak" to each other and get notified automatically when something new happens. For example, WeTravel can notify your internal systems when a new payment is created or a booking is updated.
To enable Webhooks, set the toggle to "Yes" and click the "Manage Webhooks" button. This will direct you to the new tab on your browser, the Svix dashboard, where you can manage the Webhooks.
You can read more about WeTravel's API Webhooks here and watch this short video:
🚨 Important: The Partner API integration and Webhooks can only be set up and managed by the main account. Team members cannot access it.
Please contact us if you have any other questions. We will be happy to help!