Trying to update widget from curl


I am brand new in cayenne.
I created a widget graph , and now i want to add each day the water consumption from cli (curl command)
i am a little lost.
I am able to read my “access_token” from this cmd :
curl -X POST -H ‘Content-Type: application/json’ ‘’ -d ‘{“grant_typ e”: “password”, “email”: “”,“password”: “BLABLABLA”}’

But now don’t know about to send data to my widget ?
please help


to send data here is the curl:

curl --request POST \
  --url<client_Id>/cmd \
  --header 'authorization: Bearer <access token>' \
  --data '{
  "channel": "10",
  "value": 20

what is client_id please ?

client_id is the client ID from your device which you can get on the dashboard and then device settings.

1 Like

i am on the dashboard , i click on settings

but can’t find any client_id

please help me

Sorry to bother again
ok i clicked on “Settings” and “configure” see below a

but can’t find “client_id”


for pi agent you will get this on raspberry pi. enter the following command sudo nano /etc/myDevices/AppSettings.ini