Skip to main content
POST
/
v1
/
trips
/
get-trip-with-id
{
  "trip_id": 1
}
{ 
    "total_length": 25,
    "filtered_length": 1, 
    "trips": [
        {
            "id": 11,
            "name": "5 Day Tanzanian Safari, Savannah Tours",
            "trip_overview": "A comprehensive 5-day safari experience starting from Arusha to Tarangire National Park with game drives and accommodations at Burunge Tented Lodge, among other destinations.",
            "pricing": {
                "price": 1200,
                "currency": "USD"
            },
            "included": ["4x4 Private safari vehicle", "Professional guide", "Park Fees", "Accommodations"],
            "excluded": ["Driver / guide tips", "Airport transfers", "Anything not explicitly included"],
            "minimum_travellers": 2,
            "suppliers": [
            {
                "name": "Savannah Tours",
                "logo_url": "https://example.com/logo_url.jpg"
            }
            ],
            "image_urls": [
                "https://cloudsafaris.com/path/to/image1.jpg",
                "https://cloudsafaris.com/path/to/image2.jpg"
            ],
            "file_urls": [],
            "trip_extras": [
            {
                "id": 1,
                "name": "4x4 Safari Cruiser",
                "description": "Included as part of the package",
                "optional": false,
                "per_unit": false,
                "multiple_units": false,
                "max_travellers": 0
            },
            {
                "id": 2,
                "name": "Airport Transfer in a 4x4 Safari Cruiser",
                "description": "Optional transfer from JRO to Arusha",
                "optional": true,
                "per_unit": true,
                "multiple_units": false,
                "max_travellers": 4
            },
            {
                "id": 3,
                "name": "Accommodation Extension at Mount Meru Game Lodge",
                "description": "Optional extra nights available in different board bases",
                "optional": true,
                "per_unit": true,
                "multiple_units": true,
                "max_travellers": 0
            }
            ],
            "days": [
            {
                "id": 1,
                "title": "Arusha to Tarangire National Park",
                "description": "Depart from Arusha and drive to Tarangire National Park for a full day of game drives.",
                "extra_details": "",
                "meals": ["Lunch", "Dinner"],
                "properties": [12],
                "destinations": [20],
                "activities": [],
                "day_extras": [],
                "transfers": [
                    {
                        "initial_id": 0,
                        "final_id": 20,
                        "transfer_type": "Vehicle", 
                        "moment": "MORNING"
                    }
                ]
            }
            // Additional days follow a similar structure
            ],
            "countries": ["TZ"], 
            "pick_up_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }, 
            "drop_off_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }
        }
    ]
}

Header Parameters

CloudSafaris-API-Version
string
default:"v1"
Currently the only acceptable value is v1.

Request Body Parameters

trip_id
number
required
The unique identifier for the trip.
{
  "trip_id": 1
}

Response Body Parameters

id
number
The trip id is the unique id of the trip returned.
name
string
The name of the the trip.
trip_overview
string
The overview of the trip (overall description).
pricing
object
included
string[]
What’s included on the trip.
excluded
string[]
What’s excluded from the trip.
minimum_travellers
number
The minimum number of travellers required to book the trip.
suppliers
object[]
image_urls
string[]
The URLs of the images that can be used for this trip.
file_urls
string[]
The URLs for any files associated with this trip.
trip_extras
object[]
days
object[]
countries
string[]
An array of country enums where this trip takes place
pick_up_location
object[]
drop_off_location
object[]
{ 
    "total_length": 25,
    "filtered_length": 1, 
    "trips": [
        {
            "id": 11,
            "name": "5 Day Tanzanian Safari, Savannah Tours",
            "trip_overview": "A comprehensive 5-day safari experience starting from Arusha to Tarangire National Park with game drives and accommodations at Burunge Tented Lodge, among other destinations.",
            "pricing": {
                "price": 1200,
                "currency": "USD"
            },
            "included": ["4x4 Private safari vehicle", "Professional guide", "Park Fees", "Accommodations"],
            "excluded": ["Driver / guide tips", "Airport transfers", "Anything not explicitly included"],
            "minimum_travellers": 2,
            "suppliers": [
            {
                "name": "Savannah Tours",
                "logo_url": "https://example.com/logo_url.jpg"
            }
            ],
            "image_urls": [
                "https://cloudsafaris.com/path/to/image1.jpg",
                "https://cloudsafaris.com/path/to/image2.jpg"
            ],
            "file_urls": [],
            "trip_extras": [
            {
                "id": 1,
                "name": "4x4 Safari Cruiser",
                "description": "Included as part of the package",
                "optional": false,
                "per_unit": false,
                "multiple_units": false,
                "max_travellers": 0
            },
            {
                "id": 2,
                "name": "Airport Transfer in a 4x4 Safari Cruiser",
                "description": "Optional transfer from JRO to Arusha",
                "optional": true,
                "per_unit": true,
                "multiple_units": false,
                "max_travellers": 4
            },
            {
                "id": 3,
                "name": "Accommodation Extension at Mount Meru Game Lodge",
                "description": "Optional extra nights available in different board bases",
                "optional": true,
                "per_unit": true,
                "multiple_units": true,
                "max_travellers": 0
            }
            ],
            "days": [
            {
                "id": 1,
                "title": "Arusha to Tarangire National Park",
                "description": "Depart from Arusha and drive to Tarangire National Park for a full day of game drives.",
                "extra_details": "",
                "meals": ["Lunch", "Dinner"],
                "properties": [12],
                "destinations": [20],
                "activities": [],
                "day_extras": [],
                "transfers": [
                    {
                        "initial_id": 0,
                        "final_id": 20,
                        "transfer_type": "Vehicle", 
                        "moment": "MORNING"
                    }
                ]
            }
            // Additional days follow a similar structure
            ],
            "countries": ["TZ"], 
            "pick_up_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }, 
            "drop_off_location": {
                latitude: -3.429406, 
                longitude: 37.074461, 
                note: "Kilimanjaro International Airport",
                radius: 50,
                location_max_time: "08:00:00",         
            }
        }
    ]
}
I