TRIPS Web - Client API
This guide provides a detailed overview of the TRIPS Client API, along with step-by-step instructions for generating and using a personal API token. The API enables approved external systems, such as partner platforms or reporting tools to securely access and manage client, booking, and booking-related financial information within Trips. Creating a personal token allows these systems to connect and retrieve up-to-date data efficiently, reducing the need for manual processes. For further information or any questions regarding the Trips Client API and its capabilities, please contact TRIPS Customer Care through the Help Centre.
Account Settings – API Section
A new API Settings section is available in your Account Settings page, with two key subsections:
- Manage Your Personal Access Tokens
-
Personal access tokens act like passwords and are stored encrypted. They cannot be retrieved once generated, so users must copy and securely store tokens immediately.
-
When generating a token, you can:
-
Name the token for easy identification.
-
Specify the token’s scope (permissions). Current scopes include:
- View clients – read client information.
- Manage clients – create and update client information.
- View bookings – read booking information.
-
-
Once generated, the confirmation dialog will warn you to copy the token, and the confirm button is disabled until copied.
-
Tokens can then be used to access the API according to their defined scope.
-
PLEASE NOTE: Only users with the Admin role will have visibility of the API Settings tile within Account Settings. As a result, only Admin users can create API tokens and access the API Documentation page.
- View API Documentation
-
The Trips API documentation is interactive and automatically generated.
-
Using your personal access token, you can:
- Test API requests.
- Examine responses in real time.
- Apply filters and parameters to refine queries.
-
The documentation also explains:
- Query parameters (type and purpose).
- Response structure (fields and data types).
Using the API
-
The API is a REST API authenticated via personal access tokens.
-
For testing outside the API Documentation, tools like Postman can be used:
- Trips API specification can be exported as an OpenAPI definition file and imported into Postman.
- Remember to add your access token to enable you to send requests.
-
PLEASE NOTE: Only users with the Admin role will have visibility of the API Settings tile within Account Settings. As a result, only Admin users can create API tokens and access the API Documentation page.
How To Create a Client and Use a Client API Token in the TRIPS Web application:
Step 1 - Click on your name > Select Account Settings .
Step 2 - Select Manage your personal access tokens within the API Settings tile.
Step 3 - Select the Add personal access token button.
Step 4 - Select the abilities you require within the API by checking the relevant options: View Clients*,* Manage Clients*,* and View Bookings. Once you have made your selections, click Confirm to proceed.
Step 5 - The Create Personal Access Token window will open. Click Copy next to the encrypted token to copy it. Once copied, the Confirm button will become active. Once you click it, the window will close, and your newly created token will be visible in the API Key list.
PLEASE NOTE: Ensure you store your API token securely, as it provides access to sensitive client and booking information and can not be recovered.
Step 6 – Click the three-dot menu next to your token to display the available actions: Edit and Revoke.
- Edit allows you to add or remove abilities for the token.
- Revoke deletes the access token, rendering it unauthorized for use with the API.
PLEASE NOTE: After revoking a token, a user can still access the API Documentation page, but will not have authorization to perform any actions. A new token can be created by selecting Add Personal Access Token, which is useful if the original token has been misplaced.
Step 7 – Your token has now been created. You can return to Account Settings > API Settings, then select API Documentation to access the API page and start using your token.
PLEASE NOTE: For further information or any questions regarding the Trips Client API and its capabilities, please contact TRIPS Customer Care through the Help Centre.
