Add: option to force using custom url for API