> For the complete documentation index, see [llms.txt](https://docs.userlane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.userlane.com/developer-reference/export-guides-guide-progress-and-announcement-data-via-api.md). Agents can also search and read this documentation through its [MCP server](https://docs.userlane.com/~gitbook/mcp).

# Export Guide, Guide progress, Announcement, Tooltip, and Validator data via API

Retrieve Guide, Guide progress, Announcement, Tooltip, and Validator data through the REST API.

## About the end-user events APIs

The [end-user events APIs](https://dev.userlane.com/reference/enduser-events) export interaction data from a Userlane property in JSON format. Use them to bring Guide, Announcement, Tooltip, and Validator 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
* see which Tooltips users read and where they enter invalid data
* enrich internal reporting with Userlane interaction data
* share Userlane findings with a wider group of stakeholders

## What can be exported

There are five 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?            | [Guide Progress API](https://dev.userlane.com/reference/getting-started-with-guide-progress)                   |
| Where do users drop off in a Guide, and which Guide is started most? | [Guides API](https://dev.userlane.com/reference/publicenduser-eventsguidesproperty_idpropertyid)               |
| How many users saw or clicked an Announcement?                       | [Announcements API](https://dev.userlane.com/reference/publicenduser-eventsannouncementsproperty_idpropertyid) |
| How often do users see or click a Tooltip?                           | [Tooltips API](https://dev.userlane.com/reference/getting-started-with-tooltip-engagement)                     |
| Where do users fail input checks?                                    | [Validators API](https://dev.userlane.com/reference/getting-started-with-the-validators-api)                   |

All five 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.

![](https://259567114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF6bxg8i3T6U4vZ3k7PHi%2Fuploads%2FqkL7Rhv7mZnMrLNve0wy%2Fimage.png?alt=media\&token=0c36cbeb-5348-4801-8294-dc871750f995)

### 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.

![](https://259567114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF6bxg8i3T6U4vZ3k7PHi%2Fuploads%2FbviXDfoLJcHPVzFnJTMp%2Fimage.png?alt=media\&token=7ef7a5fc-241e-4b9d-9d7d-ae4fa263a3d5)

### 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.

![](https://259567114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF6bxg8i3T6U4vZ3k7PHi%2Fuploads%2FXze1Rd5vEwCZdzSmMgEj%2Fimage.png?alt=media\&token=a983165e-4b9f-402f-af71-9a88ff83fc27)

### Tooltips API

Returns engagement counts for Tooltips (Hints and Beacons), with one row per user, per Tooltip, per day. A row appears only if the user had at least one visit, view, or link click on that Tooltip that day. Each row counts three things:

* **Visits:** the Tooltip loaded on a page the user visited, whether or not they opened it.
* **Views:** the user clicked a Beacon or hovered over a Hint.
* **Link clicks:** the user started a Guide from a link in the Tooltip.

Each row also carries the date, Tooltip ID, user ID, and application user ID. These are the same metrics the Tooltip analytics page shows in the Userlane Portal, so the Portal's view rate and click rate can be reproduced in a reporting tool.

![A sample Tooltips API response showing date, tooltipId, user, visits, views, and linkClicks](https://259567114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF6bxg8i3T6U4vZ3k7PHi%2Fuploads%2F0njmuNljbFGHraXhmIZj%2Ftooltips-api-response.png?alt=media)

### Validators API

Returns how users filled in form fields checked by Validators: how many entries were valid, how many were fixed, and how many were left invalid. Only Validators with a Completion Button are included.

Two endpoints cover the same data at different levels of detail:

* **Aggregated:** one row per user, per Validator, per day, per mode. Each row shows the number of submitted sessions, the number of fields the user entered data into, and how many of those entries ended compliant, corrected, or non-compliant. Use it to track compliance rates over time.
* **Entries:** one row per field a user entered data into, within one submitted session. Each row shows the session and field IDs, the mode, the outcome, the number of attempts, and the session start and end time. Use it to find which fields fail most often.

Every row includes the Validator's mode (Warning, Visible, or Measure), because the mode can change between sessions. In Measure mode users see nothing, so a field they fix on their own counts as compliant rather than corrected.

To calculate the compliance rate, use `(dataEntries - nonCompliant) / dataEntries`. Corrected entries ended valid, so they count as compliant.

![A sample aggregated Validators API response showing date, validatorId, user, mode, sessions, dataEntries, compliant, corrected, and nonCompliant](https://259567114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF6bxg8i3T6U4vZ3k7PHi%2Fuploads%2Fia2SyWvNASMIVOqC24cl%2Fvalidators-api-response.png?alt=media)

## Resolving IDs to names

The APIs return Guide, Announcement, Tooltip, and Validator IDs instead of names, 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.

**Tooltips:** open the Tooltip analytics page in the Userlane Portal and download the Tooltips table as CSV. The export includes each Tooltip's ID, name, and type (Hint or Beacon). Tooltip IDs are returned as text. Most are numbers, but some older records are not, so keep them as text in the reporting tool.

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

Join the API export with the CSV lookup in the reporting tool to display names instead of 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](https://docs.userlane.com/developer-reference/your-userlane-api-token.md).

![](https://259567114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF6bxg8i3T6U4vZ3k7PHi%2Fuploads%2FDwYxwHNue1tWHY6chAoB%2Fimage.png?alt=media\&token=dfaa12d3-3bd1-4b3c-bad2-ecfddd647a9d)

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.

* [Guides API](https://dev.userlane.com/reference/publicenduser-eventsguidesproperty_idpropertyid)
* [Announcements API](https://dev.userlane.com/reference/publicenduser-eventsannouncementsproperty_idpropertyid)
* [Guide Progress API](https://dev.userlane.com/reference/getting-started-with-guide-progress)
* [Tooltips API](https://dev.userlane.com/reference/getting-started-with-tooltip-engagement)
* [Validators API](https://dev.userlane.com/reference/getting-started-with-the-validators-api)

The Guides, Announcements, and Guide Progress APIs share one set of request rules, and the Tooltips and Validators APIs share another.

**Guides, Announcements, and Guide Progress.** 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.

**Tooltips and Validators.** Each request needs:

* **Property ID:** the Userlane ID of the application
* **Start and end dates:** the time span for the export, as a date such as `2026-09-01`. Both dates are included in the results and are in UTC. A time, if entered, is ignored.
* **Limit:** up to 5,000 records per page, 1,000 by default
* **Cursor:** left empty for the first page. For each following page, copy the `nextCursor` value from the previous response into this field. When `nextCursor` is empty (null), the last page has been reached.
* **Authorization token:** pasted into the authentication field

The date range has no length limit. Tooltip data is kept for two years. Counts for the current day keep changing until the day ends, so end the range at yesterday for a complete export. Pulling the data once a day works well.

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 (more than 60 days, for the Guides, Announcements, and Guide Progress APIs)
* an end date earlier than the start date (Tooltips and Validators APIs)
* a start date, end date, or limit changed while using a cursor (Tooltips and Validators APIs). Keep these the same for every page, or start again without a cursor.
* an invalid or expired authorization token

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

## Relevant articles

{% content-ref url="/pages/TcXdqgybeGLnS1EODhcN" %}
[Your Userlane API token](https://docs.userlane.com/developer-reference/your-userlane-api-token.md)
{% endcontent-ref %}

{% content-ref url="/pages/pFJIN3rpdCcXyo6ifg4j" %}
[Export HEART, NPS, Survey, Tag, and Task data via API](https://docs.userlane.com/developer-reference/export-heart-nps-survey-tag-and-task-data-via-api.md)
{% endcontent-ref %}

{% content-ref url="/pages/0XiPZYLLfKewriq8G6Av" %}
[User profile data export](https://docs.userlane.com/developer-reference/user-profile-data-export.md)
{% endcontent-ref %}

{% content-ref url="/pages/QoC1TgEC9ALRtbtaX7F9" %}
[Hooking into event callbacks](https://docs.userlane.com/developer-reference/hooking-into-event-callbacks.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.userlane.com/developer-reference/export-guides-guide-progress-and-announcement-data-via-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
