Impel interview question

How to build an API