ActiveCampaign interview question

How do you implement an API?