Getting data from a question using a session token

Hi there, I am trying to use the data from a question to create a type of chart that is not available on Metabase. I've tried using the public link but I get CORS Policy error. I have also tried using Metabase API but that option is not available to me in the admin settings. I was wondering if there is a way to use a session token like the embedding works. To elaborate further, I am trying to do something similar to this:

var payload = {
  resource: { question: 88 },
  params: {},
  exp: Math.round(Date.now() / 1000) + (10 * 60) // 10 minute expiration
};
var token = jwt.sign(payload, METABASE_SECRET_KEY);

var iframeUrl = METABASE_SITE_URL + "/embed/question/" + token + "#bordered=true&titled=true";

But instead of embedding I want to use the data in the question itself

You might be able to use the SDK for that but it's still in beta