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

User profile data export

Export end-user profile data in JSON format using the API and an authorization token.

About the user profile data export

This export returns details on Userlane end users in JSON format.

Requirements

The export requires technical knowledge, so involving a developer is recommended.

Why use it

Use the data to:

  • check that the correct details are stored for each user

  • compare Userlane records against statistics collected internally with other tools

  • check when a user was activated for Userlane, or when they were last seen

What is exported

Field
Description

userlaneId

A unique ID generated by Userlane

id

A unique ID generated and provided by the customer

timeCreated

The time the user was created in Userlane

firstSeenAt

The date and time the user was first detected by Userlane, per application

lastSeenAt

The date and time the user was last detected by Userlane, per application

applicationAttributes

Custom attributes held for the user on that application, with their values. An unset value shows null

companyAttributes

Custom attributes held for the user across the company rather than one application, with their values. An unset value shows null

A sample response:

Export the data

Prerequisites

The export is protected and requires an authorization token. Once the export is enabled on the account, generate the token in the Userlane Portal under Settings > API Token. See Your Userlane API token.

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

Run the export from the developer documentation.

Prepare the request

Fill out the required fields in the required format. The general view of the export page:

Parameters

To target the data for one application and one time span, enter these search parameters:

  • Application ID: the Userlane ID of the application

  • lastSeenAfter: includes only users active after the given time

  • Page and limit: the maximum is 1,000 elements per page. For a larger result, request each page separately by changing the page number and running the query again

An example of correctly filled parameters:

Authentication

The request succeeds only with a valid token. Paste it into the authentication field.

Run the request

Once the parameters are set, run the query with the Try it button in the cURL section. The results appear in the response section below.

Copy the results with the copy icon. The request code can also be copied and used in another tool.

Troubleshooting

A failed request returns an error message in the result section, which usually identifies the problem. The most common causes are an incorrect date format and an invalid or expired token.

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

Relevant articles

Your Userlane API tokenPush user attributes via APIAttributesExport HEART, NPS, Survey, Tag, and Task data via API

Last updated

Was this helpful?