UiPath Cloud Platform API issues. Help? (CE)

Hello, everyone!

I’m trying to consume the orchestrator API on Community Edition UiPath, but it’s really not going well and I’m in need of help.

I have followed the instructions contained on [https://docs.uipath.com/orchestrator/v2019/reference#consuming-cloud-api] and here is what I managed to do so far:

I did run the node.js code and got [Code Challange] and [Code Verifier];
I got the [Authorization Code] by using the [Code Challenge] ;
I did run the “Refresh Token” and got the [ID Token] and [Access Token];
I got the [Account Logical Name] and [Instance Logical Name] using the token generated before;

Now I’d like to run processes through API, but I couldn’t do it. I tried again and again, but even though I use the token and logical names on the HTTP call, I always get the error:

401 “You are not authenticated!”

I’m wondering what am I missing, since the “Consuming Cloud API” guide stops there and have no further info.

Can anyone help me, please?

Thanks in advance.