See [here](https://softwareengineering.stackexchange.com/questions/345406/is-it-bad-design-to-internally-call-api-endpoints-from-within-the-api-instance). Instead of having API `A` call another internal API `B`, pull out the business logic from underneath both `A` and `B` and have `A` import `B`'s logic.