Accessing Server Data?

I’m successfully posting data using my ESP32, but I cannot figure out how to access that data using Postmaster or something of the like. I’d like my own app to be able to access and display this data in real time.

I’ve tried finagling something with triggers and webhooks but to no avail. Does anyone have suggestions?

you can have a look at this Tutorial Using Postman with Cayenne API or CaySimple - Homemade Android App Demo / Toolkit

Thanks. I’d already read those, I suppose I should have been more specific with my question. I’m hoping for a cleaner solution. In particle I can do a simple GET web request from a link like:

Is this not a possibility in Cayenne, and if not does anyone know a platform that perhaps may make this easier? I am just trying to read the data from a Unity application.

Hi there,

We are in the process of modifying the docs, sorry for the inconvenience.

Here’s how you can access your data:

Obtain a JWT token by doing a HTTP POST to, see below:

curl --request POST \
  --url \
  --header 'content-type: application/json' \
  --data '{
	"username": "",
	"password": "password123",
	"grant_type": "password"

Use access_token from authentication response to retrieve latest readings:

curl --request GET \
  --url '' \
  --header 'authorization: Bearer access_token'

To get the THING_ID and SENSOR_ID use this request:

curl --request GET \
  --url \
  --header 'authorization: Bearer access_token'

SENSOR_ID is the individual sensor/channel under children collection.

Hope this help.

1 Like