Pass IP of backend server via API

hello dear colleagues. here is the planned usecase of hestia:
I will have 1 hestia server as reverse proxy for a various backend servers. I will need to pass ip of backend server via API to create modified template and proxy_pass from nginx of hestia to remote backend server.
any ideas?

Probaly not possible with the current api, because you would need to create a custom template each different proxy target. There is a feature request asking for a proxy_pass field to be set on edit web - as soon as this feature has been implemented, you can set it from the api. But there isnt any eta, nearly sure this will follow around early/mid 2021, not before.