Skip to main content

Widget Data

GET 

/api/v2/dashboard/widget/:key/data

Data for one provider-backed dashboard widget.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token.

Query parameters (all optional, per widget): period (week|month), days (1–365), trailing_days (1–730), limit/per_page (1–50), metric, warehouse_id.

Responses

  • 200 {data: …} — the widget's payload; data is null for a financial widget when the tenant hides financial data.
  • 403 — the widget shows money amounts and the user lacks the Financials → List permission (financials.index); the message says so and what to do. A plain 403 means the user lacks the permission for the widget's own data.
  • 404 — unknown widget key, or a widget without a data provider.

Request​

Responses​

OK

Response Headers
    Content-Type