Hello @dknife
Thank you for your input. The backend will be in PHP.
Found the docs here: https://xenforo.com/xf2-docs/dev/rest-api/
So basically, in order to integrate xenforo with the custom script, I first have to buy xenforo so I can see how to integrate it, not the other way around...