Datto interview question

How would you test a specific (presented in the interview) API?