Skip to main content
You can call the Insights endpoints to get insight data and render it however you want. The Insights endpoints are an alternative to the widgets, not an extra step in a widget integration. If you embed our widgets, you don’t need to call the Insights endpoints to display insights. The Insights endpoints return each insight’s default copy and, if available, its related accounts, categories, merchants, scheduled payments, and transactions. Use this data to power UIs you build, such as:
  • A feed of all a user’s insights
  • Insights that appear alongside each account or transaction
  • Insights that appear as banners
  • Carousels with subsets of insights

Build your own UI

Because you aren’t using our widgets, your app handles the work the widgets would otherwise do: rendering insights, finding out about new ones, and tracking what users have seen or hidden. To build your UI:
  1. Review these considerations and decide where to place your UI.
  2. Decide what information to display for each insight template, such as transaction amounts, account names, merchant logos, title copy, body copy, and more. See Populate your insights UI for more guidance.
  3. Detect new insights using webhooks. Webhooks notify you when new insights are available. Then retrieve the new insight’s data from the Insights endpoints to power your UI.
  4. After an insight displays to the user, use the Update Insight endpoint to set has_displayed to true.
  5. If you let users hide insights and a user hides one, use the Update Insight endpoint to set is_dismissed to true.

Considerations

Our widgets include a ready-made user experience. When you build your own UI instead, you decide how it works. Consider:
  • How will you onboard users?
  • How can users provide feedback on insights?
  • How can users hide insights they don’t want to see?
  • How do you want the user to engage with each insight?
  • What zero states must you create?
  • Will you use English? Unlike our widgets, the Platform API only supports English for insights.

Populate Your Insights UI

After you decide where to place your insights UI, take the following steps to populate the insight UI you create with the data we provide. Repeat these steps for every enabled insight and every possible scenario within each:
  1. Choose which copy you’ll use to power your UI.
    • Related API fields for full-sized copy: title and description.
    • Related API fields for micro copy: micro_title, micro_description, and micro_call_to_action.
    • See Which Copy To Use for more information.
  2. Choose how users can act on the insight. Some insights only function as intended with a CTA. See Actionable Insights for more information.
  3. Choose which information from a given insight template to display, such as any related accounts, categories, merchants, scheduled payments, or transactions.
    • Related fields: has_associated_accounts, has_associated_categories, has_associated_merchants, has_associated_scheduled_payments, has_associated_transactions.
    • If any of these has_associated_* fields returns true, read that resource for more information. For example if has_associated_transactions returns true, then you could List All Transactions Associated With An Insight to get information like the transaction amount, category, or type. Each resource has a similar endpoint.
  4. Integrate this information into your UI using the tools or platform of your choice.

Actionable Insights

Most of our insights include one or more call-to-action (CTA) buttons that let users act on the information in the insight. Examples of CTAs from our UI are Transfer funds, View deposits, View more, and View transactions. For example, the DesignateEmergencySavingsAccount insight exists solely so users can set an emergency savings account and contribute to it. Without a way to do this, the insight loses its value. Make sure users can take a relevant action, not just read information. Some insights can have multiple scenarios. To better understand the purpose of each CTA and the context behind it, including the default copy for all possible scenarios within that insight, see the Insights Library and Calls to Action.

Which Copy to Use

If the length of the copy isn’t a concern, use the regular copy fields (title and description). This provides the full copy for any insight and gives the user the most information. If the length of the copy is a concern, use the micro copy: micro_title (60 characters or less) and micro_description (300 characters or less). This saves space, but may omit information from the fuller copy. For UI that uses micro copy, we recommend sending users somewhere they can view the fuller copy, which provides the insight’s full context. Our widgets follow this pattern: when users tap the Micro Insights Widget, it directs them to the Insights Widget (a full feed of all their insights). In your own UI, you could link micro copy to a full feed or detail view that you build.

Insight Templates

These are the insight names as they appear in the template field of the API. You can also use these names to build functionality for a specific insight type or to filter which insights users see. To determine the template name of an insight, capitalize the first letter of each word in the insight’s name. “Payroll Deposit” becomes PayrollDeposit, “Savings Opportunity V2” becomes SavingsOpportunityV2, and so on. These are the exceptions:
For a full list of insight descriptions, triggers, default copy, and more, see our Insights Library.