add api root key to paths