have a look at this How to access Cayenne API using Insomnia, Node-red and Thunkable and JAVA | Cayenne REST API TUTORIAL