This is REST API, allowing CRUD operations on various objects.
To achieve the goal this way, I have to maintain "master" database, implement some web-application to edit agents there and update QM databases from its backand.
This is quite achievable even without REST API - I could access QM mysql tables directly from my app backend.
My intention is to leave agents creation in queuemetrics web interface with all its features, but then to catch events when an agent is created and perform synchronisation actions in other app.