Separate internal and external api config