DataQuad Interview Question

How can we secure the API's ?