Can I dynamically change the URL for API calls?

In my use case, there is an SaaS I need to use (say,, but the problem is that it is spread across different geographies, hence ther eis for the US, for the EU, etc. You can have accounts & projects on different servers, so you have to call this or that depending on which account you want to work with. Otherwise all methods & features are the same.

Is there a way to change the URL dynamically on Bubble, or would I have to copy and paste the APIs I create for each server I use?