CIBC interview question

Explain how would you integrate your API testing functionality into a Selenium UI automation framework.