Widgets not working?

Long time pushcut user for notifications, trying to set up widgets the first time. Not sure if I am doing something wrong or pushcut deosnt work anymore?

My idea is to update widget with simple text/number data, submitted via API call to pushcut.

I have created widget, added content, added variables input0, input1, input2. Added the widget to dashboard.

Updating the widget from command line:
curl -X POST -d “{ "input0": "Content 1", "input1": "667"}” -H “Content-Type: application/json” https://api.pushcut.io/API-KEY-REDACTED/widgets/TstWidget

Getting response: {“success”:true,“code”:200,“response”:{“message”:“Success!”}}

iphone widget is NOT updated.

What I tried: ensured connection is fine, ensured pushcut has background app refresh, restarted the phone.

iphone 13 if that matters, latest iOS installed

Widget inputs need to be nested under an inputs key in the request. Something along these lines should work:

curl -X POST -d '{"inputs": { "input0": "Content 1", "input1": "667"}}' -H 'Content-Type: application/json' https://api.pushcut.io/API-KEY-REDACTED/widgets/TstWidget

Sorry for the confusion, I’ll add some checks to our API that attempt to detect requests like this and return a more helpful response.