There are two types of API functions. They are as follows:
Synchronous APIs: Used for non-blocking functions
Asynchronous APIs: Used for blocking functions