Skip to main content Skip to footer
TripCart
  • Support
  • Login
Start Free Trial
TripCart
  • Tour Operators
  • Rental Companies
  • Boat Tours
  • Attractions
  • Trains
  • Ziplines
  • Farms
  • Customer Stories
Start Free TrialBook a Demo

Create and Manage Tours

  • How to Add Group Discount
  • How to Create a Multi-Day Tour
  • How to Create a Single-Day or Activity Tour?
  • How to Create Tour Packages for Multi-Day and Single-Day/Activities
  • How to add Destinations for Tour?
  • How to Add Activities for Tours
  • What are Add-ons, and How to Use Them?
  • How to Add Accommodations to Tours
  • How to setup Customer’s Account Page
  • How to Enable and Manage Coupon Codes for Tours
  • How to View and Manage Tour Bookings
  • How to Display Reviews for Your Tours
  • How to Set and Manage Difficulty Levels for Tours
  • How to Add and Manage Tour Information
  • How to Import Tours

Tour Settings

  • How to add Meal Options
  • How to edit Traveler Login Page details
  • How to Enable the Deposit Payment Feature
  • How to enable Discount on Full Payment
  • How to Add Tour Highlight
  • How to Block Dates For Tours
  • How to Add WhatsApp Number To Your Tour Detail Page
  • How to set Tour Inquiry Lead Form
  • How to Define Pricing Categories for Tours
  • How to Configure the Currency Settings
  • How to Add Custom Filters

Website Settings

  • How to Customize Colors and Fonts on Your Website?
  • How to Enable the Scroll-to-Top Button
  • How to Add Sections to the Homepage
  • How to Clear Website Cache
  • How to Translate Your Website into a Local Language
  • How to Create and Manage Menus
  • How to Customize the Website Footer?
  • How to Add Meta Titles and Descriptions for the Homepage?
  • How to Configure the Website Header?
  • How to connect your domain

Payment Gateways

  • How to Manage Tax Settings in Tripcart
  • How to configure Getnet Payment Gateway
  • How to configure the Midtrans Payment Gateway
  • How to configure the Revolut Payment Gateway?
  • How to configure the Global IME Payment Gateway
  • How to configure the Xendit Payment Gateway
  • How to configure the RazorPay Payment Gateway
  • How to Add a Custom Booking Link for Your Tours
  • How to Set Up a Payment Reminder for Due Amounts
  • How to Create Custom Payment Links for Bookings or Invoice
  • How to Enable and Use the Booking Fee Feature
  • How to Configure HBL Payment Gateway
  • How to Configure Authorize.net Payment Gateway
  • How to Configure Payment Settings for Checkout
  • How to Configure Stripe Payment Gateway
  • How to Configure PayPal Payment Gateway
  • How to Configure Cybersource Payment Gateway
  • How to Configure Nabil Bank Payment Gateway
  • Book Now and Pay later

Email Notifications

  • How to Set Up Email Notifications for Customers
  • How to Configure SMTP for Your Website
  • How to Customize the Header and Footer for Emails

Pages and Posts

  • How to Create Pages?
  • How to Publish Blog Posts on Your Site?
  • How to Add Categories and Assign Them to Posts?
  • How to add FAQs Block using Text Editor?

Apps

  • Tools
  • Reviews
  • Form Builder

Account Settings

  • How to Add or Remove Team Members
  • How to Update Your Company Information
  • How to Update Your Profile Information

FAQs

  • How to Check File Storage Usage and Email Quotas?
  • What is a Workspace, and How to Create One?
  • How to Update the Website Footer Copyright

SEO Settings

  • How to Add SEO Meta Titles and Descriptions to Default Pages
  • How to Analyze the SEO Score for Tours, Posts, and Pages
  • How to Enable or Disable Breadcrumbs on Your Website
  • How to Update the URL Structure for Default Pages

Tools

  • How to Integrate Google Translate
  • How to create API Keys
  • How to add Travel Insurance
  • How to create Webhooks
  • How to configure the Checkout Form Editor?
  • How to use the Reusable Blocks?
  • How to configure the White Label
  • How to Create and Embed Forms on Your Website
  • How to Bulk Import Redirections Easily
  • How to add a Notice Bar
  • How to add the Altitude Chart in Tour Itinerary
  • How to add Itinerary Info
  • How to Configure a Cookie Consent Notice for Your Website
  • How to Integrate reCAPTCHA for Bot Protection
  • How to Add Custom CSS to Your Website
  • How to Add Scripts (e.g., Google Analytics) to Your Website
  • How to Set Up Redirection for Your Site

Import

  • How to import WP Travel Engine trips
  • How to import WordPress Posts and Pages

Payments and Billing

  • How to upgrade or downgrade your plan
  • How to download your invoice
  • How to cancel your plan
View Categories
  • Home
  • Documentation
  • Tools
  • How to create API Keys

How to create API Keys

7 min read

Tripcart allows travel businesses to securely connect external systems or custom applications to their Tripcart account using API keys.
With API keys, you can programmatically access and manage data such as:

  • Bookings
  • Customers
  • Inquiries
  • Tours
  • Payments

This eliminates manual data handling, improves accuracy, and speeds up integrations.

Note: This feature is available in the Scale Plan only.

What is an API Key #

An API key is a unique identifier used to authenticate requests between your Tripcart account and an external application or system. It ensures that only authorized applications can access your Tripcart data.

Why Use API Keys? #

  • Automate data retrieval and updates
  • Integrate Tripcart with CRMs, analytics dashboards, and automation tools
  • Control access with fine-grained permissions
  • Eliminate manual data exports/imports
  • Improve data accuracy and sync speed

How to Access API Key #

  • Log in to the Tripcart Dashboard.
  • In the left sidebar, navigate to Apps > Tools.
  • Locate the API Keys option.
  • Toggle the switch to Enable API Keys.
  • Click the Configure button to proceed.

How to create API Key #

  • Click Add API Key button
  • Fill in:
    • API Key Name: e.g., CRM Integration, Analytics Dashboard
    • Permissions: Select the access types you need (see table below)
  • API Key & API Secret:
    • By default, both API Key and API Secret are automatically generated when you create a new key.
    • If you refresh the page, both values will change.
    • You can also manually click Generate to create a new API Secret without changing the API Key.
  • Toggle Active
    • The API key is turned ON by default to allow access immediately.
    • You can toggle it OFF anytime to temporarily revoke access without deleting the key.
  • Click Save

Note: You can create up to 5 API keys per account.

Permission Types #

CategoryPermissionDescription
BookingsGet BookingRetrieve detailed booking info, including traveller’s details, payment status, trip info, etc.
List BookingsRetrieve a summary list of all bookings (traveller’s name, booking date, status, etc).
CustomersGet CustomerRetrieve details of a specific traveller’s(contact info, payments, etc).
List CustomersRetrieve a list of all registered customers.
Inquiry FormsGet FormsRetrieve the details of a particular inquiry form that has been selected in Form Settings
List Form SubmissionsRetrieve all form submissions, including submitted data.
List Form Retrieve a paginated list of forms.
Get Form SubmissionReturns details of a specific form submission.
ToursGet TourRetrieve details of a specific tour (description, price, tour type, itinerary, etc).
List ToursRetrieve a list of all tours (title, duration, price, etc).
PaymentsGet PaymentRetrieve payment details (amount, status, traveller’s info, etc).
List PaymentsRetrieve a list of processed payments with statuses (pending, completed).

Managing API Keys #

To manage API keys, go to Dashboard > Apps > API Keys. Each API key displays the following details:

  • Title: shows the name of the API key.
  • Status: shows whether the API key is ON (active) or OFF (disabled).
  • Actions: options to Edit permissions or Delete the API key.

This layout makes it easy to see each API key’s configuration, status, and available actions at a glance.

API Keys Integration #

To integrate with Tripcart APIs, every request must include your API Key and API Secret in the HTTP headers to authenticate.

All API requests must be made using the GET method.

Header NameValue ExampleRequired
X-API-Keyyour_api_keyYes
X-API-Secretyour_api_secretYes

Note: If authentication headers are missing or incorrect, the API will return an authentication error.

Base URL #

Use {{origin}} as your base URL variable (e.g., https://yourdomain.com).

Pagination & Filtering #

  • page ({page_number}) – Optional.
    Specifies which page of results to retrieve. Defaults to the first page if not provided.
  • per_page – Optional.
    Number of results per page. Default: 15.
  • key – Optional (available for certain APIs).
    Allows filtering of data by name, email, or phone.
    If not provided, all available records for the requested page will be returned.

API Endpoints and Examples #

1. Bookings #

Get Booking #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/booking/{id}
  • Description: Retrieve booking details by booking ID.
  • Keys:
    • id (required) – Booking Id.
  • Example Request:
GET {{origin}}/api/_v1/booking/dHpIS0FuQlR6N1dtd3R1VVNnT2pJUT09
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

List Bookings #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/bookings?page={page_number}
  • Description: Retrieve a paginated list of bookings
  • Keys:
    • page (optional) – Page number (default = 1).
    • per_page (optional) – Results per page (default = 15).
  • Example Request:
GET {{origin}}/api/_v1/bookings?page=1
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

2. Customer #

Get Customer #

  • Method: GET
  • Endpoint:  {{origin}}/api/_v1/customer/{id}
  • Description: Retrieve details of a customer by their ID or email address.
  • Keys:
    • email – Customer email address.
    • id – Customer Id.
  • Example Request:
GET {{origin}}/api/_v1/customer/john.doe@example.com
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

List Customers #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/customers?page={page_number}&per_page={page_number}&key={search_key}
  • Description: Retrieve a paginated list of customers.
  • Keys:
    • page (optional) – Page number (default = 1).
    • per_page (optional) – Results per page (default = 15).
    • key (optional) – Filter by name, email, or phone.
  • Example Request:
GET {{origin}}/api/_v1/customers?page=1
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

3. Payments #

Get Payment #

  • Method: GET
  • Endpoint:  {{origin}}/api/_v1/payment/{id}
  • Description: Retrieve payment details for the given payment ID.
  • Keys:
    • id (required) – Payment Id.
  • Example Request:
GET {{origin}}/api/_v1/payment/RkFuRnQ2ZFQ0V2lRaS9uekdVOGZqdz09
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

List Payment #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/payments?page={page_number}&per_page={count}
  • Description: Retrieve a paginated list of payments.
  • Keys:
    • page (optional) – Page number (default = 1).
    • per_page (optional) – Results per page (default = 15).
  • Example Request:
GET {{origin}}/api/_v1/payments?page=1Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

4. Tours #

Get Tour #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/tour/{slug}
  • Description: Retrieve details of a specific tour by its slug.
  • Keys:
    • tour_slug (required) – Unique slug for the tour.
  • Example Request:
GET {{origin}}/api/_v1/tour/awesome-tour
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

List Tours #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/tours?page={page_number}&key={search_key}
  • Description: Retrieve a paginated list of tours.
  • Keys:
    • page (optional) – Page number (default = 1).
    • per_page (optional) – Results per page (default = 15).
    • key (optional) – Filter by tour title.
  • Example Request:
GET {{origin}}/api/_v1/tours?page=1&key=Everest
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

5. Inquiry Form #

Get Form #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/form/{id}/fields
  • Description: Retrieve details of a form by its ID or Slug.
  • Keys:
    • id – Inquiry form ID.
    • slug – Unique slug of form.
  • Example Request:
GET {{origin}}/api/_v1/form/TFdqcm9rYXpET01qZFFmR1VtaXhKUT09/fields
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

List Forms #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/forms?page={page_number}&per_page={count}
  • Description: Retrieve a paginated list of forms.
  • Keys:
    • page (optional) – Page number (default = 1).
    • per_page (optional) – Results per page (default = 15).
  • Example Request:
GET {{origin}}/api/_v1/forms?page=1
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

List Form Submissions #

  • Method: GET
  • Endpoint: {{origin}}/api/_v1/form/{form_id}/submissions?page={page_number}&per_page={count}
  • Description: Retrieve a paginated list of submissions for the given form.
  • Keys:
    • page (optional) – Page number (default = 1).
    • per_page (optional) – Results per page (default = 15).
  • Example Request:
GET {{origin}}/api/_v1/form/YTZTUHJpZDU5VU8rRWN0M1JWZFpCUT09/submissions
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

Get Form Submissions #

  • Method: GET
  • Endpoint:{{origin}}/api/_v1/form/submission/{submission_id}
  • Description: Retrieve details of a specific form submission.
  • Keys:
    • id (required) – Inquiry form ID.
  • Example Request:
GET {{origin}}/api/_v1/form/submission/bkNMeUd1OXZ1aTNzbVpxbDRGRXYvUT09
Headers:
X-API-Key: your_api_key
X-API-Secret: your_api_secret

Updated on September 3, 2025
How to Integrate Google TranslateHow to add Travel Insurance
Table of Contents
  • What is an API Key
  • Why Use API Keys?
  • How to Access API Key
  • How to create API Key
  • Permission Types
  • Managing API Keys
  • API Keys Integration
  • Base URL
  • Pagination & Filtering
  • API Endpoints and Examples
  • 1. Bookings
    • Get Booking
    • List Bookings
  • 2. Customer
    • Get Customer
    • List Customers
  • 3. Payments
    • Get Payment
    • List Payment
  • 4. Tours
    • Get Tour
    • List Tours
  • 5. Inquiry Form
    • Get Form
    • List Forms
    • List Form Submissions
    • Get Form Submissions
© 2025 Tripcart. All rights reserved.