urls for internal and external api