NTT Corporation Interview Question

How to secure an API ?