Tyl Interview Question

How would you make this API production-ready?