You should send token in http headers. Format:
Authorization: FlespiToken 45f73b59v345893456bhn345634576b9c3694
If your token is valid, try sending a get request using curl. But replace YourTokenHere with your token.
curl -X GET --header 'Accept: application/json' --header 'Authorization: FlespiToken YourTokenHere' 'https://flespi.io/gw/devices/all'
Also you can try to execute REST requests directly from the documentation.
![](https://forum.flespi.com/assets/files/2019-09-24/1569338092-969056-screenshot-flespiio-20190924-18-13-39.png)
![](https://forum.flespi.com/assets/files/2019-09-24/1569338229-973520-screenshot-flespiio-20190924-18-15-44.png)