add application env to api