Thoughtworks interview question

Develop an API endpoint ?