API stands for Application Programming Interface. API is widely used to integrate SMS Service with third party software to send SMS like OPT SMS. API is combination of sending SMS URL & set of codes with account credentials.
API can be integrated with third party app by software developer. It can be coded in any programming language as required.
OTP SMS can be send by using API only.