Webhook Widget
Menu Deploy status

Example

Deploy status

The latest build result and when it finished.

symbolcolourstimer
Deploy status
json
{
  "v": 1,
  "preferredFamily": "systemSmall",
  "refresh": 300,
  "accessibility": "web-api build 4128 passing, finished 3 minutes ago",
  "url": "https://ci.example.com/runs/4128",
  "view": {
    "type": "vstack",
    "align": "leading",
    "spacing": 0,
    "padding": 15,
    "bg": "#0E1A16",
    "children": [
      {
        "type": "hstack",
        "spacing": 6,
        "children": [
          {
            "type": "symbol",
            "name": "checkmark.circle.fill",
            "style": "subheadline",
            "color": "green",
            "accentable": true
          },
          {
            "type": "text",
            "text": "Passing",
            "style": "subheadline",
            "weight": "semibold",
            "color": "white"
          }
        ]
      },
      {"type": "spacer"},
      {
        "type": "text",
        "text": "web-api · main",
        "style": "caption",
        "color": "#7C8A93"
      },
      {
        "type": "text",
        "text": "#4128",
        "style": "title",
        "weight": "bold",
        "design": "rounded",
        "color": "white"
      },
      {
        "type": "hstack",
        "spacing": 4,
        "children": [
          {"type": "symbol", "name": "clock", "size": 11, "color": "#7C8A93"},
          {
            "type": "timer",
            "from": "2026-08-11T08:37:00Z",
            "style": "relative",
            "size": 12,
            "color": "#7C8A93"
          }
        ]
      }
    ]
  }
}
This payload is for the small size. The larger sizes show the same payload with empty space around it. For a smaller size, the server sends a different payload.

How it works

This widget has a status, a build number and a timestamp. The root has a bg. The root always fills the slot, so its background covers the whole widget.

The tick is checkmark.circle.fill, a symbol. It is on the text's line at the text's size. accentable: true keeps it bright when the Home Screen is tinted.

The colour is the semantic name green, not a hex value, so it is correct in dark mode and in tinted rendering.

Put it on your Home Screen

We serve this example at the URL below. The server generates the timestamps at the time of each request. Add the URL as a hook in the app, and the widget works on your phone.

URL
https://webhookwidget.com/demo/deploy

Open the payload →

Next

Next departures: Three buses with live countdowns.
All examples