Getting Relative Path of Retool APIs

  • Goal: Hi! I am trying to embed Checkr into Retool. I have created a Rest API function (getCheckrToken) that retrieves the session token. Unfortunately, Checkr requires a consistent relative path to keep getting that value.
  • Does Retool have a way to grab the relative path of my function?

perhaps you could give Checkr the url to a workflow webhook and just move your getCheckrToken() function over and use it from the workflow instead?

let baseUrl = "";
let relativePath = "/v1/workflows/<workflow_id>/startTrigger";
let A = new URL(relativePath, baseUrl);