I have so many experiences in creating .net or .Net core Api development in microservices or in monolith application
To integrate your systems to another system usually we use api to communicate between services or apps
And also the api use security logic to check authorized app only which will authenticate and query between applications