Authentication

The Partner API key generated on your WeTravel profile page is a refresh token. It can not be used to perform API calls directly. First, you need to issue an access token using the following endpoint: https://developer.wetravel.com/reference/issueaccesstoken.

It accepts the refresh token in the Authorization header and returns an access token which is valid for 1 hour. Newly issued access token can be used to make others API calls.