Skip to main content
POST
/
v1
/
trips
/
get-trips-with-ids
{
  "trip_ids": [5,1,20]
}
[
    {
        "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",         
        }
    }, 
    // Additional trips
]

Header Parameters

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

Request Body Parameters

trip_ids
number[]
required
The unique identifiers for the trips that you expect to receive. Maximum of 100 trip ids to enter here.
{
  "trip_ids": [5,1,20]
}

Response Body Parameters

The fields returned are the same as those in the data from the Get All Trips Response endpoint, with the exception that it does not return an offset number.
[
    {
        "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",         
        }
    }, 
    // Additional trips
]
I