configurable api url