Freshsales Suite & Classic SDK App domain issue with Request Templates

While I am trying to migrarte the App from 2.2 version to 2.3 version with freshsales classic and suite facing an issue with request templates invoking process with domain values.

For example, my domain in freshsales suite was and it is allowing only only from settings page and not able to invoke the request template without the settings doamin parameters.

I just want to pass the hostname instead of settings with context data on calling invokeTemplate method and throwing as pass valid fqdn error.

What if the customers are using any custom domain for freshsales account ?

Can anyone please suggest and help me to resolve the issue.