Get the handle of an object
It is possible to copy the handle of an element by right-clicking on them and selecting "Copy Handle to Clipboard".
How to use the handle in Control with Lua Code
Most functions can use the handle as argument!
We will set the text of this Text Resource as example:
--first we create a handle objekt and copy the handle local handle = pixc.createHandle(6241433728519295) --then we can do api calls directly with the handle Pixera.Resources.Resource.setText(handle,"Hello World")

Result:

How to use the handle in the API with JSON
As an example, we set the same command with the API
{"jsonrpc":"2.0", "id":18, "method":"Pixera.Resources.Resource.setText", "params":{"handle":6241433728519295, "text":"API"}}
Result:

Pixera 1.9.135 | 11. September 2023