Can use `TenantsUtil.getBaseUrl` to construct everything before `/api` I think. Also `util.format`