All guidesDashboards

How to build a live dashboard card from a JSON API, without writing code

Most tools can hand out their figures as JSON. How to choose what to show, keep the API key private, set the refresh, and put it in front of your team.

5 min read

Most of the tools a team uses already know the numbers people keep asking about: how many tickets are open, whether the website is up, how much storage is left, when the next renewal is due. Getting those numbers in front of people usually means a screenshot in a chat, or someone signing in to look.

Many of those tools will also hand the numbers out as JSON through an API. This guide shows how to turn that into a small live card your team can see, in five steps, and what to watch out for on the way.

What a JSON API gives you

An API is an address that answers with data instead of a web page. Look for "API" or "Developers" in a tool's settings. The address starts with https, and most need a key so the tool knows who is asking. The answer looks something like this:

{
  "service": "Website",
  "status": "Healthy",
  "uptime_percent": 99.98,
  "open_tickets": 3,
  "storage": { "used_gb": 64, "total_gb": 100 },
  "updated_at": "2026-12-02T09:00:00Z"
}

Each name on the left is a field, and a field can hold other fields, like storage.used_gb. A dashboard card is a nicer way of showing a few of them.

Step 1: pick the few figures worth showing

A card with every field on it is just the API again. Ask what someone wants to know at a glance, and match each answer to a shape:

The valueExampleShow it as
A single numberopen_tickets: 3A large stat, with the change since last time
A state in wordsstatus: HealthyA status light
A part of a wholeused_gb: 64 of total_gb: 100A progress bar or ring
A list of thingsTickets, devices, usersA table or a list
Numbers over timeDaily sign-upsA line or bar chart
A daterenewal_dateA date, ideally with how long until it

Three to five figures is plenty for one card. If people need more, make a second card rather than a longer one.

Step 2: keep the key off the page

The quickest way to build a card is a web page that calls the API from the browser. The catch is the key: to send it, the page has to contain it, and anyone who can open the page can copy it out. Many APIs also refuse requests made from a browser on another site, so the quick page often does not work at all.

The fix is to read the API on a server. The server holds the address and the key, asks for the data, and sends the browser only the values the card shows. If the tool lets you, create a key that can only read, so a leaked key cannot change anything.

Step 3: decide how fresh it needs to be

Every refresh is a request to the tool, and most APIs limit how many they will answer a minute. Match the refresh to how fast the number really changes:

  • Every 30 seconds for something people watch during an incident.
  • Every minute or five for most status and ticket figures.
  • Only when someone refreshes for figures that change daily, like storage or renewals.

Whatever you choose, show when the data was last updated, so nobody trusts a stale number. And a card is for looking at: if you need to know the moment something goes down, use a monitor that alerts you, as in uptime monitoring that fixes the fault.

Step 4: add the one button people need

A card that only shows a problem sends people somewhere else to act on it. One or two buttons usually cover what happens next:

  • A link to the place where the work happens, like the ticket queue.
  • A refresh for when someone has just fixed something.
  • A request you have stored, like sending a form or starting a job. Store the request in full on the server, so pressing the button can only ever send exactly that.

Step 5: put it where people already look

A dashboard on its own web address is one more bookmark people forget. Put the card in the place the team already works, next to their files, tasks and messages. If several teams need the same card with different data, such as one card per office, build it once with a setting each team fills in, rather than copying it.

Ways to build it

ApproachSkills neededWho looks after itBest for
A spreadsheet that imports the dataFormulasYouA report someone opens now and then
A web page you writeHTML, JavaScript and a small server for the keyYouA developer with time to spare
An internal tool builderSome code, usuallyYouTeams building many internal apps
A component designer in a shared workspaceNoneThe serviceA few live cards where the team already works

How Task Ember Studio does it

Task Ember Studio gives you shared workspaces and a component studio for designing your own cards in them:

  • Design from blocks. Headings, stats, status lights, details, progress bars, tables, charts, lists, timelines, dates, buttons and fields. Click to add, drag to arrange, or start from a ready-made design such as Service overview or Key dates.
  • Live data from any https address that returns JSON. Studio reads it on the server, so the address and its sign-in never reach the browser. A block shows a field by name, nested fields included.
  • Refresh to suit the data: every 30 seconds, every minute, every five minutes, or only when someone refreshes.
  • Buttons that do real work. Send a request you have stored, open a link or refresh the card.
  • One card, many workspaces. Give a component settings, and each workspace that places it fills in its own values. Separate layouts for the sidebar, the main column and full width.
  • Free to design. Drafts never count, and the free plan publishes one component.

Studio uses your Task Ember account, and the people you invite see the finished card, never how it is built. See how it works at taskember.com/studio.

A workspace for every client.

Task Ember is a white-label client portal for MSPs and IT teams. Set up a workspace and switch on the product your clients ask for most.