Loading application...
Build powerful travel applications with Perigee's comprehensive API. Complete documentation, SDKs, and examples to get you started quickly.
Follow these simple steps to start building with the Perigee API
Sign up for a free account and generate your API key in the dashboard
Choose your preferred language and install our official SDK
Authenticate and start making API calls to manage your tours and bookings
// Initialize the Perigee SDK
import { Perigee } from '@perigee/sdk';
const client = new Perigee({
apiKey: 'your-api-key',
environment: 'production' // or 'sandbox'
});
// Create a new tour
const tour = await client.tours.create({
title: 'Safari Adventure in Kenya',
description: 'Experience the best of Kenyan wildlife',
price: 1500,
duration: 7,
destinations: ['maasai-mara', 'amboseli', 'lake-nakuru']
});
// Get all bookings
const bookings = await client.bookings.list({
page: 1,
limit: 20,
status: 'confirmed'
});
console.log(`Created tour: ${tour.id}`);
console.log(`Found ${bookings.data.length} bookings`);Complete reference for all available endpoints and resources
/auth/loginAuthenticate user and obtain access token
/auth/refreshRefresh expired access token
/auth/logoutRevoke access token and logout user
/toursList all tours with pagination and filters
/toursCreate a new tour package
/tours/{id}Get detailed information about a specific tour
/tours/{id}Update existing tour information
/tours/{id}Delete a tour package
/bookingsRetrieve all bookings with filters
/bookingsCreate a new booking
/bookings/{id}Get booking details
/bookings/{id}Update booking status or details
/customersList all customers with search and pagination
/customersAdd a new customer
/customers/{id}Get customer profile and booking history
/customers/{id}Update customer information
/paymentsList payment transactions
/paymentsProcess a payment
/payments/{id}Get payment details and status
/analytics/revenueGet revenue analytics with date range
/analytics/bookingsBooking statistics and trends
/analytics/customersCustomer analytics and demographics
Use our officially maintained SDKs and tools to integrate quickly
Official SDK for JavaScript and Node.js applications
npm install @perigee/sdkPython SDK with asyncio support
pip install perigee-pythonPHP SDK compatible with Laravel and other frameworks
composer require perigee/php-sdkLightweight Go SDK for high-performance applications
go get github.com/perigee/go-sdkRuby gem for Rails and Ruby applications
gem install perigee-rubyComplete API collection for testing and development
Import collectionStay in sync with real-time event notifications
booking.createdTriggered when a new booking is created
Payload: booking object with customer and tour details
booking.confirmedTriggered when a booking is confirmed
Payload: booking object with updated status
payment.completedTriggered when payment is successfully processed
Payload: payment object with transaction details
payment.failedTriggered when payment processing fails
Payload: payment object with error details
tour.publishedTriggered when a tour is published and available for booking
Payload: tour object with complete details
customer.createdTriggered when a new customer is registered
Payload: customer object with profile information
Our developer support team is here to help you integrate successfully. Get personalized assistance and technical guidance.