You want to show data from another system in your Staffbase intranet, such as the cafeteria menu, open tickets or key figures, and you have no server for the API integration? With Widget Builder by JASP you set up the API request right in the widget. Widget Builder calls the API through its own server, and the widget shows the response in Staffbase. You host nothing yourself, and the API key never reaches your employees’ browsers.
Why is calling an API straight from the browser a problem?
When a widget calls an API in the browser, everything shows up in the network tab of the developer tools: address, headers, body and with them any API key or token. On top of that, the target API has to allow calls from the intranet’s address (CORS). Many internal systems don’t. Until now the usual fix was a small server of your own that queries the API, plus someone to run it.
How does Widget Builder show API data without your own server?
- Set up the API request. In the widget you enter the method (GET, POST, PUT, PATCH or DELETE), the address, headers and a body if needed. The API key goes into a header, for example
Authorization: Bearer …orX-Api-Key: …. - Route it through Widget Builder. For new requests in a widget, routing through the Widget Builder server is already switched on. The widget then asks Widget Builder, and the server calls the target API. Because the call comes from the server, the target API needs no CORS permission for the intranet.
- Show the response. The layout is HTML with Handlebars placeholders. You insert fields from the API response and write the layout yourself, or let the AI editor build it if JASP has enabled it for your tenant.
- Make it available in Staffbase. You switch on “Available in Staffbase” and save. Widget Builder registers the widget in Staffbase, and then you place it in Staffbase Studio.
By default, Widget Builder checks the Staffbase sign-in of the person who opens the widget on every call. In the address and headers you can use placeholders for tokens, for example the Staffbase token of the signed-in person. If you don’t want an API queried on every page view, you can switch on a cache per request with its own lifetime; it is off by default and kept per person.
Sources: API Proxy (opens in a new tab) , Caching API requests (opens in a new tab) and Data Tables (opens in a new tab) in the Widget Builder documentation.
What other options are there?
| Option | Where the API is called | What you run yourself |
|---|---|---|
| Widget Builder with proxy | On the Widget Builder server | Nothing; you need a Widget Builder account |
| Staffbase Custom Widget | In the code your developers write | The bundle on a web server or CDN, plus a server if the key has to stay secret |
| Staffbase Embedded Pages widget | In the embedded web page | The web page itself; it has to allow embedding |
Sources: Custom Widget Development (opens in a new tab) and Configuring the Embedded Pages Widget (opens in a new tab) , retrieved on 3 December 2026. For a wider overview, see Widget Builder compared to other tools .
Frequently asked questions
Do I need my own server to show API data in Staffbase?
Can employees see my API key in their browser?
What if the system has no API at all?
Next step
On the STARTER plan Widget Builder costs nothing. Browse the widget gallery for widgets that already show data from APIs, or tell us about your system through the contact form .