For the complete documentation index, see llms.txt. This page is also available as Markdown.

Export Guides, Guide progress, and Announcement data via API

Retrieve Guide interactions, progress, and Announcement event data through the REST API.

About the end-user events APIs

The end-user events APIs export interaction data from a Userlane property in JSON format. Use them to bring Guide and Announcement interaction data into a business intelligence tool such as Power BI, Tableau, or Looker, or to combine it with data collected in other systems.

Why use it

Use the data to:

  • track how individual users interact with Guides and Announcements

  • measure onboarding completion across a user base

  • enrich internal reporting with Userlane interaction data

  • share Userlane findings with a wider group of stakeholders

What can be exported

There are three APIs in the end-user events family. Choose based on the question to be answered.

Question
API

What percentage of an onboarding Guide do users complete?

Where do users drop off in a Guide, and which Guide is started most?

How many users saw or clicked an Announcement?

All three APIs return JSON.

Guides API

Returns event-level records for every interaction with a Guide:

  • Guide started: a user opened a Guide

  • Guide finished: a user reached the end of a Guide

  • Guide exited: a user closed a Guide before finishing, including the step exited on

Each event carries the time, event type, user, Guide ID, and, for exits, the step number and total step count.

Announcements API

Returns event-level records for every interaction with an Announcement:

  • Announcement viewed: an Announcement was shown to a user

  • Announcement interacted: a user clicked a button or link inside an Announcement

Each event carries the time, event type, user, and Announcement ID.

Guide Progress API

Returns the current completion state of one Guide, per user: how far each user got, what percentage was completed, and when they last interacted with it. It also returns aggregate completion statistics across all users, for example how many users reached 20, 40, 60, 80, or 100 percent completion.

Resolving IDs to names

The APIs return Guide and Announcement IDs as numbers, for example "id": "99067". Matching those IDs to their titles makes the export usable in a report or dashboard.

Guides: open the Guide analytics page in the Userlane Portal and export the list to CSV. The export includes both Guide ID and title. Alternatively, open the analytics page for one Guide and read the ID from the URL.

Announcements: open the Announcement analytics page in the Userlane Portal and export the list to CSV. The export includes both Announcement ID and title.

Guide progress: the Guide ID is a required request parameter, so it has to be found first, in either of the ways above.

Join the API export with the CSV lookup in the reporting tool to display names instead of numeric IDs.

How to export the data

Generate the token

The export is protected and requires an authorization token. Generate the token in the Userlane Portal under Settings > API Token. See Your Userlane API token.

The token is generated per Userlane Manager and can be regenerated at any time using the same button in the Portal.

Run the request

Each API is available in the developer documentation, which includes a Try it button for testing a request directly in the browser.

Each request needs:

  • Property ID: the Userlane ID of the application. In the API, a property is what the Userlane Portal calls an application.

  • Start and end dates: the time span for the export, in the format 2026-04-01T00:00:00+00:00

  • Page and limit: up to 1,000 records per page. For larger results, request each page separately by changing the page number.

  • Authorization token: pasted into the authentication field

  • Guide ID: required for Guide progress only

Each request covers a maximum of 60 days of history. For longer history, schedule a daily or weekly pull into a local database.

Once the request runs successfully, copy the JSON response, or the request code, using the copy icon.

Troubleshooting

A failed request returns an error message in the result section. Most errors relate to:

  • an incorrect date format, or a date range outside the allowed window, for example larger than 60 days

  • an invalid or expired authorization token

Review the parameters against this article. If the issue persists, contact Userlane.

Relevant articles

Your Userlane API tokenExport HEART, NPS, Survey, Tag, and Task data via APIUser profile data exportHooking into event callbacks

Last updated

Was this helpful?