Push one number to iPhone widget
push_numberSet or update a single number, text, or status value on an iPhone Home Screen or Lock Screen widget via WidgetDash, creating the source if it does not exist.
Instructions
Quickest way to put a single number or value on the user's iPhone Home Screen / Lock Screen widget via WidgetDash, e.g. 'Stripe MRR = $12,400' or 'Open tickets = 7'. Sets one metric (matched by label) on a source, keeping the source's other metrics, title and icon; creates the source if it does not exist. Requires WIDGETDASH_WRITE_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | SF Symbol name shown next to the title, e.g. 'dollarsign.circle.fill', 'chart.bar.fill', 'server.rack', 'heart.fill', 'cart.fill'. If omitted, keeps the existing icon (default 'circle.fill'). | |
| type | No | Optional; defaults to the existing metric's type, else inferred from the value. | |
| color | No | Optional accent color (green/red/yellow/blue/gray/orange/purple/cyan); defaults to the existing metric's color. | |
| label | Yes | Short label shown on the widget, e.g. 'MRR' or 'Users online'. | |
| value | Yes | The value to display, pre-formatted as you want it shown (e.g. '$12,400', '42', 'Healthy'). For 'progress' use 0-100. | |
| category | No | Free-form grouping, e.g. 'finance', 'monitoring', 'fitness'. If omitted, keeps the existing category (default 'general'). | |
| sort_order | No | Position among sources on the widget (lower first). If omitted, keeps the existing order (default 0). | |
| source_key | Yes | Stable identifier for this data source, e.g. 'stripe_mrr' or 'server_health'. Lowercase letters, digits, '_' or '-'. Pushing to an existing key updates it; a new key creates a new widget source. | |
| display_name | No | Title shown on the widget, e.g. 'Stripe'. If omitted, keeps the existing name (or derives one from source_key for new sources). |