switch to api domain