Overview
The Dashboard Management API lets you programmatically control workspaces and dashboards. Common use cases include:
- Building a custom sidebar listing available dashboards
- Dynamically creating dashboards when users enable features (e.g. “Enable revenue charts”)
- Cloning template dashboards for new customers
- Bulk-adding or removing charts from dashboards
Authentication
All Dashboard Management endpoints accept a user JWT in the Authorization header. This is the same JWT you receive from the Get Project User Token endpoint.
Alternatively, you can authenticate with an Upsolve API key for server-to-server calls:
User JWT authentication is recommended for frontend iFrame integrations. API
key authentication is recommended for backend automations.
List all workspaces, then list dashboards within a workspace to build your own navigation UI.
Step 1: List Workspaces
Step 2: List Dashboards in a Workspace
Response:
Step 3: Render in Your App
Embed the application as an iFrame to render the current user’s dashboards, passing their project user token as the jwt query parameter:
See Frontend Setup for the full iFrame embedding guide.
Workflow 2: Create a Dashboard and Add Charts
Create a new empty dashboard, then populate it with charts from your chart library.
Step 1: Create an Empty Dashboard
Step 2: Add Charts
Charts are deep-copied into the target dashboard, so changes to the originals won’t affect the copy.
Workflow 3: Clone a Dashboard
Clone an existing dashboard (with all its charts) into the same or a different workspace.
Workflow 4: Merge Charts Between Dashboards
Append all charts from one dashboard to another. This is useful for enabling feature bundles (e.g., “Enable revenue charts” adds all revenue-related charts).
Workflow 5: Remove Charts from a Dashboard
Remove specific charts that are no longer needed:
The chart records are preserved in the chart library. Only the dashboard layout is updated.
API Reference