An application programming interface (API) is an interface or communication protocol between different parts of a computer program intended to simplify the implementation and maintenance of software.
A more detailed overview on DirectAdmin API you can find by the link https://www.directadmin.com/api.html
DirectAdmin supports the following API commands (updated on August, 20th, 2021):
More information can be found here