Twilio Interview Question

How do you design an API rate limiter