// This is your API Call (Can be jQuery, AXIOS, fetch...)
function postAJAX(id){
return jQuery.getJSON( "/jsonURL" + id, function( data ){});
}
// This is your asyncronous returned data
function getTheContent(id){
(async () => {
console.log(await postAJAX(id));
})()
}