Geotab interview question

How do you design an endpoint?