Back-end systems over the last twenty years have been constructed on one very simple notion: Define functionalities through APIs and enable the clients to consume them. REST, GraphQL, RPC — diverse variants but identical basic principle.
A customer is clear about their needs. It triggers a call to an endpoint. It seeks the answer.