I built a very simple PHP class that handles cookies and CSRF tokens automatically to make it easier to create GET and POST requests for FusionPBX.
This is NOT a REST API replacement, but it can be used to build your own tools to interact with FusionPBX in PHP.
Check it out on Github...