Hey Xenforo forum!
I'm new here and I hope I'm in the right section - I got a real problem! :(:)
I ran into an issue while trying to create an API / REST API for your software.
After I set up the Autoloader
XenForo_Autoloader::getInstance()->setupAutoloader(ROOT . '/library');