Sign in

Push data to Cyfe widget

documented

Push a JSON payload to a Cyfe Push API widget to update its metrics in real-time; the payload supports fields such as data, onduplicate, color, type, and several optional rendering controls (cumulative, average, total, comparison, reverse, reversegraph, yaxis, yaxismin, yaxismax, yaxisshow, labelshow).

POST /api/push/{widget_id}Widgetsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://app.cyfe.com/api/push/{{$widget_id}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"data": [{"Date": "{{$Date}}", "Metric": "{{$Value}}"}], "onduplicate": {"Metric": "{{$OnDuplicate}}"}, "color": {"Metric": "{{$Color}}"}, "type": {"Metric": "{{$ChartType}}"}}'
Push data to Cyfe widget · Cyfe · OpenIntegrations