UIQ Travel API

Our agile API development approach makes it easy to implement. Innovate quickly to open new sources of monetization, architect previously unimagined experiences and bump up your bottom line.

Product suggestions

Easy to integrate

We believe AI should be easy to integrate and platform agnostic. You can get up and running with UIQ Travel in just a couple of minutes.


//to declare the UIQT javascript API, you will be required
//to input the industry for which the personalization takes place
var uiqt = $(document).uiqt({
	interactionCategory: "Hotels"
});

//to initialize the UIQT API pass in your apiKey
uiqt.init({
	apiKey: "YOUR-API-KEY"
});




                				

//to get recommended items related to another item the itemId is required,
//as well as get utems recommended for a user the userId is required
//itemId and userId are strings
//results (number), represents the number of recommended items
uiqt.getRecommended({
	userId: "USERID",
	itemId: "ITEMID",
	results: 0
});




            					

//will reoder a list of recommended items for the given user,
//personalizing them and filtering them,
//based on the value of the filters and search query

//filterList - Array["string"]
//searchVal and userId - string values
uiqt.getPersonalized({
	filterList: ["FILTER1","FILTER2","FILTER3"],
	searchVal: "QUERY",
	userId: "USERID"
});




            					

//Record Interactions - use the recordInteraction function
//userId - the id of the user if it exists, string format
//sessionId - or cookieId, string format
//interactionList - an object containing the interaction type (the event)
//and the properties of the interaction
//interactionList example {interactionName: “click”,
//interactionProperties: {“id”: "hotel id", "value": "hotel name”}}
uiqt.recordInteraction({
	userId: "USERID",
	sessionId: "SESSIONID",
	interactionList: {
		interactionName: "click",
		interactionProperties: {
			"id": "itemId", "value": "itemName"
		}
	}
});