> ## Documentation Index
> Fetch the complete documentation index at: https://docs.widgetic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Partner Dashboard

> What you can see and do for your partner account on widgetic.com, and the API calls behind each screen

Your partner has a dashboard on widgetic.com that is made for a partner: your contract and your credits, your invoices, your end users, the presets you offer (widgets and workflows), and how your customers' widgets are used. Most of what it shows is also available through the API, so you can build the same views into your own tools.

Sign in with the owner login of your partner (the shared mailbox that Widgetic invited). A partner has one workspace, so there is nothing to switch to: you land on the dashboard's **Overview**, with your end users in the sidebar and the settings of the workspace in its menu. The dashboard is also in the settings: choose **Partner dashboard** in the **Workspace** group. An account that is not a partner does not have that entry.

Your workspace shows what your contract includes, not a plan. There is no plan to choose, to upgrade or to cancel, and no team to invite: the settings of a partner's workspace keep the name and picture of the workspace (which cannot be deleted or left), its allowed domains, its API keys and the notifications of the owner, and leave out team members, stats (your numbers are under **Analytics**) and a billing dialog (your billing is the **Billing and credits** tab).

## What the Dashboard Shows for Each Status

A banner at the top says where your account stands (see [Account Status](https://docs.widgetic.com/docs/partners/account-status.md)).

| Status | What the dashboard offers |
| - | - |
| `inactive` | Overview, Billing and credits, Notifications and Settings: what you need to get going, and nothing that needs customers. You can pay, set up your notifications and make your keys |
| `suspended` | The banner shows the reason Widgetic gave. Everything stays readable, but nothing can be changed. Billing, notifications and your API keys stay open, so you can pay and get going again |
| `payment_arrears` | The banner says that a payment on your partner account is overdue, and the status reads "Payment overdue". Everything stays readable, but nothing can be changed. Billing, your invoices, notifications and your API keys stay open: pay the overdue invoice and the account is back as soon as the payment goes through. Extra credits wait until then, and the Billing page says so |
| `winding_down` | The partnership has ended, and the banner shows the day the wind-down ends. Everything stays readable and can be exported, and nothing can be changed. Your published widgets are still shown. Billing, your invoices, notifications and your API keys stay open (a key reads, it does not write) |
| `closed` | The wind-down is over. Your widgets are no longer shown and every API key is refused. The owner login can still sign in to read the contract and the invoices, and nothing else |
| `active` | Everything |

While the last day of your partnership is still ahead, the status is `active` and everything works. A banner shows the date and the days left, and extra credits can no longer be bought (see [Ending a Partnership](https://docs.widgetic.com/docs/partners/ending-a-partnership.md)).

## The Tabs

| Tab | What it is for | The API behind it |
| - | - | - |
| **Overview** | Where your partner account stands, and what is in place for your integration: a checklist of your API key (and when one last did something), the storage your customers' files go to, your webhook and your allowed websites. A warning appears when your credits run low | `GET /partners/mine`, and the calls named on the other tabs |
| **Billing and credits** | Your contract, your next invoice and when it is made, your credits and the day each part of them ends, your invoices with their tax, what your customers used, and your billing details (read only) | `GET /partners/{partnerId}/credits/balance`, `POST /partners/{partnerId}/credits/extra-invoice`, `GET /partners/{partnerId}/billing-overview`, `GET /partners/{partnerId}/contract` and the invoice routes (see [Credits & Billing](https://docs.widgetic.com/docs/partners/credits-billing.md#your-billing-page)) |
| **End users** | Your customers, found by the id you know them by: what each one made, used and keeps in storage, and a switch to turn one on or off | `GET /managed-users` with `search`, `sort`, `cursor` and `include=counts`, `GET /managed-users/{id}/usage`, `GET /partners/{partnerId}/storage/usage` (see [End users](#end-users) and [Managed Users](https://docs.widgetic.com/docs/partners/managed-users.md)) |
| **Presets** | The widgets and the workflows you offer your customers as starting points | `GET`, `PUT` and `DELETE` on `/partners/{partnerId}/presets` for widgets, and on `/partners/{partnerId}/workflow-presets` for workflows (see [Starting points](https://docs.widgetic.com/docs/partners/ui-components/workflows.md#starting-points)) |
| **Widgets** | The widgets you and your customers made | `GET /widgets`, with `managedUserId` to narrow it to one customer |
| **Analytics** | How your customers' published compositions are viewed and used | The four routes under `/partners/{partnerId}/analytics` (below) |
| **Notifications** | What Widgetic told you, where it is sent, a button to send a test event to your webhook, and a **Send again** button on each delivery | See [Notifications](https://docs.widgetic.com/docs/partners/notifications.md) |
| **Settings** | Your API keys, the domains your widgets can be embedded on, and your contact details (read only: write to Widgetic to change them) | Your API keys (Settings → API keys of your home workspace), and the domains of your account (see [Authentication](https://docs.widgetic.com/docs/authentication.md) and [Security](https://docs.widgetic.com/resources/security.md)) |

> [!NOTE]
>
> Two destinations are set with the API, not in the dashboard. One is your own **storage** (see [Storage](https://docs.widgetic.com/docs/partners/storage.md)); Widgetic's team can also enter it for you, and the Overview shows whether it works, with a **Check again** button that writes a test file to your bucket and reads it back. The other is an optional **Neon database** for the entries visitors send to your widgets (see [Visitor data in your Neon database](https://docs.widgetic.com/docs/partners/visitor-data-database.md)): without it, those entries stay in Widgetic's database.

## End users

Your customers do not have logins, so the dashboard names them where it names everything else. The people your product serves are your **end users**, each one the managed user you filed their work under.

* **In the sidebar,** an **End users** block lists the ten who were active most recently, with **View all**.
* **The End users page** lists all of them, the most recently active first, and reads a screenful at a time (**Show more**). Search by the id you know them by: it also matches the name or email you stored with them. A row shows the id, when they were last active, and how many widgets, embeds and workflows they made. A customer you switched off is marked **Switched off**.
* **One end user's page** is where a support request ends up. It shows your id for them and Widgetic's, with a button to copy each, when they were first seen and last active, what they keep in storage and the credits they spent in the last 30 days. Under that are their widgets, embeds (with the embed code and a link to look at one), workflows, A/B tests, translations and files, each with a **Copy ID** button. Each section is read on its own: one that fails says so and offers **Try again**, and never reads as "nothing made". The switch at the top turns the end user on or off: switching one off ends its editor sessions now, and nothing new can be filed under it until you switch it back on.
* **In the lists of your workspace,** the widgets of a project, the A/B tests and the translations say who each row is for, with the end user's id on it, and a **Created by** menu narrows a list to what you made yourself or to one end user. The menu is offered only when an end user made something on that list.

The page reads the calls of [Managed Users](https://docs.widgetic.com/docs/partners/managed-users.md#find-the-work-of-one-customer), so you can build the same view into your own support tool.

## Analytics

The analytics count what the **visitors** of your customers' compositions did, from the events the embedded widgets send while they are shown (the Widgetic embed SDK sends them by itself). Only two things are counted: how many times a composition was **viewed**, and how many times a visitor **interacted** with one, plus how many different **visitors** there were. A visitor is a browsing session.

| Route | What it answers |
| - | - |
| `GET /partners/{partnerId}/analytics/summary` | Views, interactions and visitors in a period, with how many different compositions and managed users were viewed |
| `GET /partners/{partnerId}/analytics/managed-users` | Every one of your managed users with what their widgets did: views, interactions and visitors, and how many widgets and compositions they have made. A customer nobody viewed is listed too, with zeros. The most viewed come first |
| `GET /partners/{partnerId}/analytics/top-widgets` | The widgets whose compositions were viewed the most, with views, interactions, visitors and how many of their compositions were viewed |
| `GET /partners/{partnerId}/analytics/timeline` | Views, interactions and visitors for each day of the period (UTC days), oldest first, for a chart. A day with nothing is all zeros |

The period runs from `startDate` (included) to `endDate` (not included): the 30 days before now when you give neither, and at most 366 days. A date without a time is midnight UTC at the start of that day, so for all of October give `startDate=2026-10-01` and `endDate=2026-11-01`. `summary`, `top-widgets` and `timeline` can be narrowed to one customer with `managedUserId` or `managedUserExternalId` (not both).

```bash theme={"theme":"css-variables"}
curl -sS -H "Authorization: Bearer $WIDGETIC_PARTNER_KEY" \
  "https://api.widgetic.com/v1/partners/$WIDGETIC_PARTNER_ID/analytics/summary?startDate=2026-10-01&endDate=2026-11-01&managedUserExternalId=your-platform-user-123"
```

```json theme={"theme":"css-variables"}
{
  "success": true,
  "data": {
    "partnerId": "7d5f3c1a-2b64-4c0e-9a51-6f1e2d3c4b5a",
    "period": { "from": "2026-10-01T00:00:00.000Z", "to": "2026-11-01T00:00:00.000Z" },
    "managedUserId": "b9a0f1d2-3c4e-4f50-8a61-7b2c3d4e5f60",
    "views": 1840,
    "interactions": 312,
    "visitors": 904,
    "compositionsViewed": 7,
    "managedUsersViewed": 1
  }
}
```

A composition counts for a customer only when it is filed under them: send `managedUserId` or `managedUserExternalId` when you create it, or let the customer's [editor session](https://docs.widgetic.com/docs/partners/editor-sessions.md) do it, which files everything under them. What visitors did with a composition that is not filed under anyone is in the summary of the whole account and in no customer's row.

Analytics need the `partner:read` scope when your key is limited to some scopes. The numbers are counted when you ask, so they are always current.

> [card] [Credits & Billing](https://docs.widgetic.com/docs/partners/credits-billing.md)
>
> Invoices, tax, payments and credits

> [card] [Managed Users](https://docs.widgetic.com/docs/partners/managed-users.md)
>
> Your customers, their presets and what they use


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.