How to let external program call forge endpoints?

It looks like Forge isn’t the best tool for your use case at the moment, but there are upcoming changes that might help you, see this discussion.
In the meantime I guess you can easily do it with Atlassian Connect