# Usertour documention - [Build Your Onboarding with AI](https://docs.usertour.io/build-onboarding-with-ai.md): Watch an AI assistant build production-ready onboarding — a flow, a checklist, a survey, an announcement and a resource center — in a real app, then follow along with the exact prompts. - [Getting Started](https://docs.usertour.io/quickstart.md): Get started with Usertour - a powerful platform for building product tours, checklists, and launchers. Follow this guide to integrate Usertour into your application and create your first user experience. - [FAQ](https://docs.usertour.io/faq.md): Find answers to frequently asked questions about Usertour's features, requirements, and integration capabilities. - [Understanding In-App Flows](https://docs.usertour.io/building-experiences/understanding-in-app-flows.md): Learn how to create effective in-app flows to guide users through your product with interactive tours, tooltips, and modals. - [Content startup](https://docs.usertour.io/concepts/content-startup.md): How Usertour decides whether and when to show each content type — flows, checklists, banners, resource centers, launchers, and event trackers. - [Session lifecycle](https://docs.usertour.io/concepts/session-lifecycle.md): Understand when Usertour creates, updates, completes, and ends sessions for flows, checklists, launchers, banners, resource centers, and event trackers. - [Flows](https://docs.usertour.io/building-experiences/creating-your-first-flow.md): Learn how to create and customize interactive flows with Usertour - [Checklists](https://docs.usertour.io/how-to-guides/checklists.md): Build task lists that guide users to activation — wired to flows, completed by real behavior, and measured per task - [Launchers](https://docs.usertour.io/how-to-guides/launchers.md): Learn how to create and customize launchers to highlight features and provide quick access to help - [Resource Center](https://docs.usertour.io/how-to-guides/resource-center.md): Learn how to build an in-app help hub with tabs, content lists, sub-pages, and live chat - [Announcements](https://docs.usertour.io/how-to-guides/announcements.md): Publish product updates and news into the Resource Center, with unread badges and optional pop-ups - [Surveys/NPS](https://docs.usertour.io/how-to-guides/surveys.md): Learn how to create and customize surveys to collect user feedback and measure satisfaction - [Banners](https://docs.usertour.io/how-to-guides/banners.md): Learn how to create and customize banners to communicate with your users right inside your app. - [Event Trackers](https://docs.usertour.io/how-to-guides/event-trackers.md): Learn how to use no-code event tracking in Usertour to capture meaningful product behavior more quickly. - [Starting Content](https://docs.usertour.io/how-to-guides/starting-flows.md): Learn how to trigger flows or checklists automatically or manually in your application - [How Start Rules Work](https://docs.usertour.io/how-to-guides/how-start-rules-work.md): Understand how auto-start rules and temporary hide rules work together so your onboarding appears at the right time. - [Selecting Elements](https://docs.usertour.io/how-to-guides/selecting-elements.md): Use the OpenPicker extension to point at an element and get a CSS selector — and define stable selectors with your developers so flows don't break on the next release. - [Elements inside iframes](https://docs.usertour.io/how-to-guides/iframes.md): Target buttons and other elements inside same-origin iframes with tooltips, launchers and element conditions, how to tell whether a frame qualifies, and what to do when it does not. - [Go to page when flow starts](https://docs.usertour.io/how-to-guides/go-to-page-when-starts.md): Learn how to automatically navigate users to the right page when they start a flow or checklist, with three different approaches to handle page navigation - [Hidden Steps](https://docs.usertour.io/how-to-guides/hidden-steps.md): Learn how to effectively use hidden steps in Usertour to create more complex and dynamic user flows while maintaining a clean and organized flow structure. - [Deleting user data](https://docs.usertour.io/how-to-guides/deleting-user-data.md): Learn how to delete user data in Usertour, including complete user deletion, resetting individual flow sessions, and dismissing flows for all users. - [Delete and duplicate content](https://docs.usertour.io/how-to-guides/delete-and-duplicate-content.md): Learn how to manage your Usertour content by deleting or duplicating flows, launchers, and checklists. - [Projects](https://docs.usertour.io/how-to-guides/projects.md): A project is one application in Usertour. Learn what lives inside a project, how to add a project for a second application, and how projects relate to environments and billing. - [Team Management](https://docs.usertour.io/how-to-guides/team.md): Building onboarding is a collaborative effort, and Usertour lets you add your team to the same project so you can all work together on building the content. - [Two-Factor Authentication](https://docs.usertour.io/how-to-guides/two-factor-authentication.md): Add a second verification step to your account using an authenticator app, plus recovery codes for backup access. - [Single Sign-On (SSO)](https://docs.usertour.io/how-to-guides/single-sign-on.md): Let your team sign in through your own OIDC identity provider — Okta, Google Workspace, Microsoft Entra ID, Auth0, Keycloak, and more. - [Billing & Invoices](https://docs.usertour.io/how-to-guides/billing.md): Learn how to manage your subscription and download invoices from the Billing page via Stripe. - [Environments](https://docs.usertour.io/how-to-guides/environments.md): Learn how to manage different environments for development, staging, and production - [Localization](https://docs.usertour.io/how-to-guides/localization.md): Translate flows, checklists, banners and more into your users' languages, and deliver each user the right one automatically. - [Customizing Themes](https://docs.usertour.io/how-to-guides/customizing-themes.md): With themes, you can design flows and other UserTour content to seamlessly integrate with your app. We provide a powerful yet user-friendly visual editor that requires no CSS or programming knowledge to modify every element of your theme. - [Custom Fonts & CSS](https://docs.usertour.io/how-to-guides/custom-fonts-and-css.md): Use your own brand font in Usertour widgets, and inject custom CSS for font loading and advanced style overrides. - [Users and Segments](https://docs.usertour.io/how-to-guides/users-and-segments.md): Learn how to manage users and create targeted segments for personalized experiences - [Companies](https://docs.usertour.io/how-to-guides/companies.md): Learn how to manage and target users across different organizations in your application - [URL pattern matching](https://docs.usertour.io/how-to-guides/urls.md): Learn how to use URL patterns to control when and where your content appears in your application - [Flow Analytics](https://docs.usertour.io/how-to-guides/flow-analytics.md): Learn how to track and analyze user engagement with your flows - [Embed any content](https://docs.usertour.io/how-to-guides/embed.md): Learn how to embed videos, forms, images, and other web content into your flows. - [Mobile](https://docs.usertour.io/how-to-guides/mobile.md): Learn how to optimize Usertour for mobile web applications and handle device-specific content - [Overview](https://docs.usertour.io/integrations/overview.md): Connect Usertour to your analytics tools, your CRM, and Zapier — stream events out as they happen, sync cohorts and CRM properties back in. - [Cohort sync](https://docs.usertour.io/integrations/cohort-sync.md): Pull Mixpanel and Amplitude cohorts into Usertour as targeting-ready user segments — circle users in your analytics tool, reach them in your product. - [Zapier](https://docs.usertour.io/integrations/zapier.md): Connect Usertour to thousands of apps — trigger Zaps from Usertour events, and create users, companies, and events from anywhere. - [HubSpot](https://docs.usertour.io/integrations/hubspot.md): Keep HubSpot contacts and companies in step with Usertour users and companies — sync CRM properties in as targeting attributes, and write onboarding data back to HubSpot. - [Amplitude](https://docs.usertour.io/integrations/amplitude.md): Stream Usertour events into Amplitude, and sync Amplitude cohorts into Usertour as targeting-ready segments. - [Heap](https://docs.usertour.io/integrations/heap.md): Stream Usertour events into Heap as they happen. - [Mixpanel](https://docs.usertour.io/integrations/mixpanel.md): Stream Usertour events into Mixpanel, and sync Mixpanel cohorts into Usertour as targeting-ready segments. - [PostHog](https://docs.usertour.io/integrations/posthog.md): Stream Usertour events into PostHog as they happen. - [Segment](https://docs.usertour.io/integrations/segment.md): Stream Usertour events into Segment as they happen. - [Webhooks](https://docs.usertour.io/developers/webhooks.md): Get Usertour events, content publishes, and user / company changes POSTed to your own endpoint the moment they happen — signed, retried, and logged. - [Identity Verification](https://docs.usertour.io/developers/identity-verification.md): Prove that identify() and group() calls really come from your app, so nobody can impersonate your users with your public environment token. - [Content Security Policy](https://docs.usertour.io/developers/csp.md): Content Security Policy about Usertour. - [Introduction](https://docs.usertour.io/developers/usertourjs-reference/overview.md): Introduction to Usertour.js SDK and its core features - [Installation](https://docs.usertour.io/developers/usertourjs-reference/installation.md): Install Usertour.js with npm or an HTML snippet. - [init()](https://docs.usertour.io/developers/usertourjs-reference/setup/init.md): Initialize the Usertour SDK with your environment token - [identify()](https://docs.usertour.io/developers/usertourjs-reference/users/identify.md): Identify authenticated users with their unique ID and attributes - [identifyAnonymous()](https://docs.usertour.io/developers/usertourjs-reference/users/identify-anonymous.md): Identify anonymous users with automatically generated IDs - [isIdentified()](https://docs.usertour.io/developers/usertourjs-reference/users/is-identified.md): Check if the current user has been identified - [updateUser()](https://docs.usertour.io/developers/usertourjs-reference/users/update-user.md): Update attributes for the currently identified user - [reset()](https://docs.usertour.io/developers/usertourjs-reference/users/reset.md): Clear the current user's identification and hide active flows - [group()](https://docs.usertour.io/developers/usertourjs-reference/companies/company.md): Associate the current user with a company and update company attributes - [updateGroup()](https://docs.usertour.io/developers/usertourjs-reference/companies/update-company.md): Update attributes for the currently associated company - [Events](https://docs.usertour.io/developers/usertourjs-reference/events/overview.md): Track custom product events for users and companies in Usertour - [track()](https://docs.usertour.io/developers/usertourjs-reference/events/track.md): Record custom product events for the current user and optionally attach event attributes - [start()](https://docs.usertour.io/developers/usertourjs-reference/content/start.md): Programmatically trigger and display Usertour content for authenticated users - [isStarted()](https://docs.usertour.io/developers/usertourjs-reference/content/is-started.md): Check if a specific Usertour content has been started - [endAll()](https://docs.usertour.io/developers/usertourjs-reference/content/end-all.md): Close all active Usertour content displays for the current user - [openResourceCenter()](https://docs.usertour.io/developers/usertourjs-reference/resource-center/open-resource-center.md): Programmatically expand the resource center panel - [closeResourceCenter()](https://docs.usertour.io/developers/usertourjs-reference/resource-center/close-resource-center.md): Programmatically collapse the resource center back to its launcher - [toggleResourceCenter()](https://docs.usertour.io/developers/usertourjs-reference/resource-center/toggle-resource-center.md): Toggle the resource center between open and collapsed - [isResourceCenterOpen()](https://docs.usertour.io/developers/usertourjs-reference/resource-center/is-resource-center-open.md): Check whether the resource center panel is currently expanded - [showResourceCenterLauncher()](https://docs.usertour.io/developers/usertourjs-reference/resource-center/show-resource-center-launcher.md): Show the resource center launcher button - [hideResourceCenterLauncher()](https://docs.usertour.io/developers/usertourjs-reference/resource-center/hide-resource-center-launcher.md): Hide the resource center launcher button - [setBaseZIndex()](https://docs.usertour.io/developers/usertourjs-reference/advanced/set-base-zIndex.md): Set the base z-index for Usertour floating elements - [setCustomNavigate()](https://docs.usertour.io/developers/usertourjs-reference/advanced/set-custom-navigate.md): Configure custom navigation behavior for single-page applications - [disableEvalJs()](https://docs.usertour.io/developers/usertourjs-reference/advanced/disable-eval-js.md): Disable Evaluate JavaScript actions for security - [registerCustomInput()](https://docs.usertour.io/developers/usertourjs-reference/advanced/register-custom-input.md): Teach Usertour to recognize custom HTML elements as input fields - [setCustomScrollIntoView()](https://docs.usertour.io/developers/usertourjs-reference/advanced/set-custom-scroll-into-view.md): Customize how Usertour scrolls elements into view - [setUrlFilter()](https://docs.usertour.io/developers/usertourjs-reference/advanced/set-url-filter.md): Filter sensitive data from URLs before sending to Usertour - [setLinkUrlDecorator()](https://docs.usertour.io/developers/usertourjs-reference/advanced/set-link-url-decorator.md): Automatically modify external link URLs in Usertour flows - [setDebug()](https://docs.usertour.io/developers/usertourjs-reference/advanced/set-debug.md): Turn on Usertour.js console logging to see what the SDK is doing - [Introduction](https://docs.usertour.io/api-reference-v2/introduction.md): The Usertour v2 API — project-scoped, token-authenticated, and contract-first. - [Authentication](https://docs.usertour.io/api-reference-v2/authentication.md): Personal API tokens, scopes, and project access. - [Errors](https://docs.usertour.io/api-reference-v2/errors.md): The v2 error envelope and codes. - [MCP server](https://docs.usertour.io/api-reference-v2/mcp.md): Drive Usertour from an AI agent over the Model Context Protocol. - [Pagination](https://docs.usertour.io/api-reference-v2/pagination.md): v2 list endpoints share one cursor-based pagination format and list object. - [Ordering](https://docs.usertour.io/api-reference-v2/ordering.md): Order list results with the orderBy query parameter. - [Expanding objects](https://docs.usertour.io/api-reference-v2/expanding-objects.md): Inline related objects and heavy fields with the expand query parameter. - [Attributes](https://docs.usertour.io/api-reference-v2/attributes.md): Custom attributes on users, companies, and events — naming and data types. - [Content representation](https://docs.usertour.io/api-reference-v2/content-representation.md): How a content version is read and written — steps, blocks, rules, and type-specific data. - [Blocks](https://docs.usertour.io/api-reference-v2/blocks.md): The visual building units of content — text, image, button, embed, question, and columns — with their exact payloads. - [Conditions & actions](https://docs.usertour.io/api-reference-v2/conditions-and-actions.md): The reusable predicate and behavior primitives — used by start/hide rules, step triggers, and button/question actions. - [Start, hide & trigger rules](https://docs.usertour.io/api-reference-v2/rules.md): When a content auto-starts, when it hides, and the in-step triggers — all built from conditions and actions. - [Type-specific data](https://docs.usertour.io/api-reference-v2/type-data.md): The `data` body for non-flow content — checklist, launcher, banner, tracker, resource center, and announcement. - [Get content analytics](https://docs.usertour.io/api-reference/analytics/get-content-analytics.md): The response shape follows the content type (discriminated on `contentType`): flows report starts + completions and a per-step funnel with tooltip-target-missing counts; checklists starts + completions and per-task rows; launchers seen + activations; banners seen + dismissals; resource centers opens… - [Get question analytics](https://docs.usertour.io/api-reference/analytics/get-question-analytics.md): Per-question aggregates for survey questions in this content: answer distribution, NPS score with promoter/passive/detractor shares, rating averages — each with a rolling-window daily series (CUMULATIVE over the trailing `rollingWindowDays`, echoed per series — unlike the content-analytics per-day b… - [List content](https://docs.usertour.io/api-reference/content/list-content.md) - [Create content](https://docs.usertour.io/api-reference/content/create-content.md) - [Get content](https://docs.usertour.io/api-reference/content/get-content.md) - [Delete content](https://docs.usertour.io/api-reference/content/delete-content.md): Soft delete (recoverable via POST /content/{id}/restore). Deleting also UNPUBLISHES the content from every environment and permanently discards the per-environment publish state (which environments, which version, since when) — restore returns an UNPUBLISHED draft, not that history. "Was this ever l… - [Update content](https://docs.usertour.io/api-reference/content/update-content.md): Update content metadata (name, buildUrl). - [Restore deleted content](https://docs.usertour.io/api-reference/content/restore-deleted-content.md): Restore soft-deleted content (find it via GET /content?deleted=true). It returns as an unpublished draft with versions and history intact — publish again explicitly to go live. Idempotent on content that is not deleted. - [Duplicate content](https://docs.usertour.io/api-reference/content/duplicate-content.md): Duplicate into a new content (copies the edited version's steps / config / data). - [Publish a version](https://docs.usertour.io/api-reference/content/publish-a-version.md): Set a version as the live version in an environment (idempotent). - [Unpublish a version](https://docs.usertour.io/api-reference/content/unpublish-a-version.md): Clear an environment's live version for the content. - [List content versions](https://docs.usertour.io/api-reference/content-versions/list-content-versions.md) - [Create a content version](https://docs.usertour.io/api-reference/content-versions/create-a-content-version.md): Ensure an editable draft: returns the current edited version while it is an unpublished draft; forks it only when it is published (locked). A fork returns the slim version envelope — the copied steps/data are not inlined; read the version with `expand` to inspect them. - [Get a content version](https://docs.usertour.io/api-reference/content-versions/get-a-content-version.md) - [Update a content version](https://docs.usertour.io/api-reference/content-versions/update-a-content-version.md): Write steps, start/hide rules, themeId, or type-specific data to a draft version. - [Validate a content version](https://docs.usertour.io/api-reference/content-versions/validate-a-content-version.md): Dry-run usability check: the same rules `publish` enforces, without mutating. Returns errors (these block publish) and advisory warnings. - [Restore a content version](https://docs.usertour.io/api-reference/content-versions/restore-a-content-version.md): Fork a historical version forward as the new draft. - [Get a translation](https://docs.usertour.io/api-reference/content-versions/get-a-translation.md): Every translatable unit of the version for one locale: source text, current translation, and whether the source changed since it was translated (`outdated`). A locale that was never translated returns all units with empty translations. The `code` is one of the project's non-default locales — see Lis… - [Update a translation](https://docs.usertour.io/api-reference/content-versions/update-a-translation.md): Write translations by unit path and/or switch delivery on or off. Only an editable draft accepts translations — fork a published version first (the fork carries every translation with it). Translations merge onto the stored ones server-side; the response is the full translation as now stored. The `c… - [List themes](https://docs.usertour.io/api-reference/themes/list-themes.md) - [Create a theme](https://docs.usertour.io/api-reference/themes/create-a-theme.md) - [Get a theme](https://docs.usertour.io/api-reference/themes/get-a-theme.md) - [Delete a theme](https://docs.usertour.io/api-reference/themes/delete-a-theme.md): Soft delete: the theme leaves lists and pickers but historical versions keep it, and it can be restored. Rejected for the default / system theme, and while any live or draft version still uses the theme (409 E1031 — switch that content to another theme first). Historical versions do not block deleti… - [Update a theme](https://docs.usertour.io/api-reference/themes/update-a-theme.md) - [Duplicate a theme](https://docs.usertour.io/api-reference/themes/duplicate-a-theme.md): Copy a theme (settings + variations verbatim) into a fresh non-default theme. System themes may be duplicated (the natural "derive from Standard Light" flow). - [Restore a deleted theme](https://docs.usertour.io/api-reference/themes/restore-a-deleted-theme.md): Bring a soft-deleted theme back as it was (find it via GET /themes?deleted=true). It returns as a non-default theme. Refused (E1046) while its variation conditions use deleted attributes or segments — restore those first. Idempotent on a theme that is not deleted. - [List users](https://docs.usertour.io/api-reference/users/list-users.md) - [Get a user](https://docs.usertour.io/api-reference/users/get-a-user.md) - [Create or update a user](https://docs.usertour.io/api-reference/users/create-or-update-a-user.md) - [Delete a user](https://docs.usertour.io/api-reference/users/delete-a-user.md): DESTRUCTIVE and permanent — removes the user AND everything hanging off them in this environment: attributes, company memberships, segment memberships, question answers and event history. There is no restore; re-identifying the same external id later starts a brand-new user. - [List companies](https://docs.usertour.io/api-reference/companies/list-companies.md) - [Get a company](https://docs.usertour.io/api-reference/companies/get-a-company.md) - [Create or update a company](https://docs.usertour.io/api-reference/companies/create-or-update-a-company.md) - [Delete a company](https://docs.usertour.io/api-reference/companies/delete-a-company.md): DESTRUCTIVE and permanent — removes the company, every membership in it (with their membership attributes) and its segment rows. Users themselves survive. There is no restore; re-grouping the same external id later starts a brand-new company. - [Add a company member](https://docs.usertour.io/api-reference/companies/add-a-company-member.md): Add a user to the company, or update the membership (idempotent). Returns the membership (external ids + attributes). Membership attributes with an unknown codeName auto-create a definition (dataType inferred from the value) — a typo'd codeName therefore silently creates a new attribute while the re… - [Remove a company member](https://docs.usertour.io/api-reference/companies/remove-a-company-member.md): Remove a user from the company. DESTRUCTIVE, not a hide: the membership record and its membership-scoped attributes (e.g. a role) are deleted for good — re-adding creates a brand-new membership with empty attributes and a new join date, so remove-then-re-add is NOT an undo. - [List segments](https://docs.usertour.io/api-reference/segments/list-segments.md) - [Create a segment](https://docs.usertour.io/api-reference/segments/create-a-segment.md) - [Get a segment](https://docs.usertour.io/api-reference/segments/get-a-segment.md) - [Delete a segment](https://docs.usertour.io/api-reference/segments/delete-a-segment.md): Soft delete: the segment leaves lists, keeps its members, stops syncing from any integration, and can be restored. Refused (E1043) while live or draft content or a theme uses it. - [Update a segment](https://docs.usertour.io/api-reference/segments/update-a-segment.md) - [Restore a deleted segment](https://docs.usertour.io/api-reference/segments/restore-a-deleted-segment.md): Bring a soft-deleted segment back with its members (find it via GET /segments?deleted=true). An integration sync it had does not come back with it. Refused (E1046) while its conditions use deleted attributes — restore those first. Idempotent on a segment that is not deleted. - [Add a segment member](https://docs.usertour.io/api-reference/segments/add-a-segment-member.md): Add a user or company (per the segment's bizType) to a manual segment. - [Remove a segment member](https://docs.usertour.io/api-reference/segments/remove-a-segment-member.md): Remove a user or company (per the segment's bizType) from a manual segment. - [List sessions](https://docs.usertour.io/api-reference/sessions/list-sessions.md): Sessions in this environment. Filter by contentId / userId. - [Get a session](https://docs.usertour.io/api-reference/sessions/get-a-session.md) - [Delete a session](https://docs.usertour.io/api-reference/sessions/delete-a-session.md): PERMANENT, with three distinct consequences: the session record is gone (no restore exists); its recorded answers vanish from question analytics irreversibly — deleting "test" sessions rewrites real response counts; and attribute values the session wrote onto the user via bindAttribute REMAIN on the… - [End a session](https://docs.usertour.io/api-reference/sessions/end-a-session.md): End an in-progress session. Idempotent: a session already in its terminal state is returned as-is. Tracker sessions have no end semantics and refuse with E1017. - [List attribute definitions](https://docs.usertour.io/api-reference/attribute-definitions/list-attribute-definitions.md) - [Create an attribute definition](https://docs.usertour.io/api-reference/attribute-definitions/create-an-attribute-definition.md) - [Get an attribute definition](https://docs.usertour.io/api-reference/attribute-definitions/get-an-attribute-definition.md) - [Delete an attribute definition](https://docs.usertour.io/api-reference/attribute-definitions/delete-an-attribute-definition.md): Soft delete: the definition leaves lists and pickers but keeps resolving by id, and can be restored. Refused (E1042) while live or draft content, a segment or a theme uses it. - [Update an attribute definition](https://docs.usertour.io/api-reference/attribute-definitions/update-an-attribute-definition.md) - [Restore a deleted attribute definition](https://docs.usertour.io/api-reference/attribute-definitions/restore-a-deleted-attribute-definition.md): Bring a soft-deleted attribute definition back as it was (find it via GET /attribute-definitions?deleted=true), so conditions that referenced it resolve again. Creating an attribute with the same scope and codeName restores it too. Idempotent on a definition that is not deleted. - [List event definitions](https://docs.usertour.io/api-reference/event-definitions/list-event-definitions.md) - [Create an event definition](https://docs.usertour.io/api-reference/event-definitions/create-an-event-definition.md) - [Get an event definition](https://docs.usertour.io/api-reference/event-definitions/get-an-event-definition.md) - [Delete an event definition](https://docs.usertour.io/api-reference/event-definitions/delete-an-event-definition.md): Soft delete: the definition leaves lists and pickers, recorded events keep resolving it, and it can be restored. Refused (E1030) while live or draft content uses it. - [Update an event definition](https://docs.usertour.io/api-reference/event-definitions/update-an-event-definition.md) - [Restore a deleted event definition](https://docs.usertour.io/api-reference/event-definitions/restore-a-deleted-event-definition.md): Bring a soft-deleted event definition back as it was (find it via GET /event-definitions?deleted=true). Creating or tracking an event with the same codeName restores it too. Idempotent on a definition that is not deleted. - [List webhooks](https://docs.usertour.io/api-reference/webhooks/list-webhooks.md) - [Create a webhook](https://docs.usertour.io/api-reference/webhooks/create-a-webhook.md): On Usertour Cloud, webhooks need a paid plan (Starter or above) — a Hobby project gets 403 E0043. Self-hosted instances are never gated. The same applies to update, rotate-secret and delivery; reads and delete stay available on any plan. - [Get a webhook (includes the signing secret for webhook:manage tokens)](https://docs.usertour.io/api-reference/webhooks/get-a-webhook-includes-the-signing-secret-for-webhook:manage-tokens.md): The signing secret is the ability to forge signed deliveries, so it rides only on tokens holding webhook:manage — a read-only token gets every other field. - [Delete a webhook](https://docs.usertour.io/api-reference/webhooks/delete-a-webhook.md) - [Update a webhook](https://docs.usertour.io/api-reference/webhooks/update-a-webhook.md) - [Rotate the signing secret](https://docs.usertour.io/api-reference/webhooks/rotate-the-signing-secret.md) - [Introspect the token](https://docs.usertour.io/api-reference/me/introspect-the-token.md): Returns the token's name and the projects and environments it may act on — the credential-test and picker-population call for integration platforms. - [List locales](https://docs.usertour.io/api-reference/localizations/list-locales.md): The locale catalog the dashboard offers when adding a localization: a BCP-47 tag with the language name to file it under. Copy a pair from here into `create localization` — `name` is what machine translation is asked to translate into, so a real language name translates better than an improvised one… - [List localizations](https://docs.usertour.io/api-reference/localizations/list-localizations.md): The locales this project translates content into. The `isDefault` one is the source language; every other `code` can carry a translation on each content version — read and write those with the version's translation endpoints under Content versions. `deleted=true` lists the soft-deleted ones instead. - [Create a localization](https://docs.usertour.io/api-reference/localizations/create-a-localization.md): Add a locale content can be translated into. A `code` stays reserved while its localization is soft-deleted: creating that code again RESTORES the deleted one — same id, with every translation it held (each with the enabled state it had) — and the response says so with `restored: true`. - [Delete a localization](https://docs.usertour.io/api-reference/localizations/delete-a-localization.md): Soft delete. The locale stops being offered and delivered at once — its users see the source language — but the translations it holds on every version are kept, so restoring it brings them all back. The default localization cannot be deleted. - [Update a localization](https://docs.usertour.io/api-reference/localizations/update-a-localization.md): Rename a locale or change its locale tag / code. Changing `code` takes effect on live content at once: delivery picks a translation by matching it against the end user's `locale_code` attribute, so users carrying the old code fall back to the source language until their attribute matches the new one… - [Restore a deleted localization](https://docs.usertour.io/api-reference/localizations/restore-a-deleted-localization.md): Bring a soft-deleted locale back exactly as it was: every version translation it held returns with the enabled state it had, so enabled translations on published versions are delivered again at once. - [Track an event](https://docs.usertour.io/api-reference/events/track-an-event.md): Records a behavior event for a user. Unseen users are created; an unknown event name registers a definition on first use; built-in Usertour event names are refused. - [List environments](https://docs.usertour.io/api-reference/environments/list-environments.md) - [Create an environment](https://docs.usertour.io/api-reference/environments/create-an-environment.md): Create an environment in the project. The first one is made primary. - [Get an environment](https://docs.usertour.io/api-reference/environments/get-an-environment.md) - [Delete an environment](https://docs.usertour.io/api-reference/environments/delete-an-environment.md): Delete an environment. The primary / last environment cannot be deleted. - [Update an environment](https://docs.usertour.io/api-reference/environments/update-an-environment.md): Rename an environment. - [Deploy with Docker](https://docs.usertour.io/open-source/self-hosting.md): Deploy Usertour on your own infrastructure using Docker - [Deploy with Coolify](https://docs.usertour.io/open-source/coolify-deployment.md): Deploy Usertour using Coolify - a simple and fast way to get started - [Local Development](https://docs.usertour.io/open-source/local-development.md): Set up and run Usertour in your local development environment - [Environment Variables](https://docs.usertour.io/open-source/env.md): Environment Variables. - [Usertour.js Installation](https://docs.usertour.io/open-source/usertourjs.md): Install and configure Usertour.js in your self-hosted environment - [System Admin](https://docs.usertour.io/open-source/system-admin.md): Manage self-hosted instance settings, licensing, users, and projects - [License Management](https://docs.usertour.io/open-source/license-management.md): Manage instance-level and project-level licenses for self-hosted Usertour deployments - [Business + Enterprise](https://docs.usertour.io/open-source/business-enterprise.md): Business and Enterprise licensing for self-hosted Usertour - [Backups](https://docs.usertour.io/open-source/backups.md): Database and environment backup strategies for self-hosted UserTour instances - [Troubleshooting](https://docs.usertour.io/open-source/troubleshooting.md) - [Analyze Your Onboarding with AI](https://docs.usertour.io/use-cases/analyze-onboarding-with-ai.md): Five prompts that turn live onboarding data into rankings, funnels, checklist friction reports and survey readouts — no dashboards, no exports. - [Start when element appears](https://docs.usertour.io/use-cases/start-flow-when-element-appears.md): Use an Element is present start rule to start a flow only after the target UI is visible. - [Follow up after close button](https://docs.usertour.io/use-cases/close-button-follow-up.md): Use a second flow to show a short tooltip after a user closes or ends an onboarding flow. - [Go to next step after input](https://docs.usertour.io/use-cases/continue-after-text-input.md): Use a step trigger to continue a flow after a user fills in a textarea or input field. - [Restart onboarding from a button](https://docs.usertour.io/use-cases/restart-onboarding-from-button.md): Use usertour.start() to let users replay an onboarding flow from a button in your product. - [Let users choose between tours](https://docs.usertour.io/use-cases/choose-between-two-tours.md): Use modal button actions to send users from one choice flow into a simple or deep tour. - [Introduction](https://docs.usertour.io/api-reference/introduction.md): Understand general concepts, response codes, and authentication strategies. - [Errors](https://docs.usertour.io/api-reference/errors.md): Troubleshoot problems with this comprehensive breakdown of all error codes. - [Pagination](https://docs.usertour.io/api-reference/pagination.md): All top-level API resources that support listing use the same format for pagination and the same response object. - [Ordering](https://docs.usertour.io/api-reference/ordering.md): Some top-level API resources that support listing can be ordered by one or more fields using the orderBy query parameter. Each resource will list which fields it can be ordered by. - [Expanding objects](https://docs.usertour.io/api-reference/expanding-objects.md): Learn how to expand related objects in API responses using the ```expand``` query parameter. - [Attributes](https://docs.usertour.io/api-reference/attributes.md): Objects in the API, such as users, companies, and events, can store custom attributes in the ```attributes``` object. This allows you to extend the default data model with your own fields. - [The user object](https://docs.usertour.io/api-reference/users/model.md) - [Upsert a user](https://docs.usertour.io/api-reference/users/create.md) - [Get a user](https://docs.usertour.io/api-reference/users/get.md): Retrieves a specific user by their ID, including all their attributes and relationships. - [Delete a user](https://docs.usertour.io/api-reference/users/delete.md) - [List users](https://docs.usertour.io/api-reference/users/list.md): Retrieve a paginated list of users. You can filter the results using various query parameters. - [The company object](https://docs.usertour.io/api-reference/companies/model.md): Companies represent organizational units in your system. They can be used to group users, manage permissions, and orchestrate user flows based on company-specific conditions. - [Upsert a company](https://docs.usertour.io/api-reference/companies/create.md): Create a new company or update an existing one. This endpoint uses an upsert operation, creating a new company if the ID doesn't exist, or updating the existing company if it does. - [Get a company](https://docs.usertour.io/api-reference/companies/get.md): Retrieve detailed information about a specific company. The endpoint returns a 404 Not Found response if the company does not exist. - [Delete a company](https://docs.usertour.io/api-reference/companies/delete.md): Permanently remove a company from the system. This operation cannot be undone, and all associated memberships will be deleted. - [List companies](https://docs.usertour.io/api-reference/companies/list.md): Retrieve a paginated list of companies in your account. The response includes company details and pagination information. - [The company membership object](https://docs.usertour.io/api-reference/company-memberships/model.md): Company memberships represent the relationship between users and companies. They allow you to store custom attributes that describe how a user interacts with a specific company. - [Upsert a membership](https://docs.usertour.io/api-reference/company-memberships/create.md): Create or update a company membership. Note that memberships are managed through user operations rather than direct API calls. - [Remove a membership](https://docs.usertour.io/api-reference/company-memberships/delete.md): Removes a single user from a single company. Leaves the user and the company themselves intact. - [List memberships](https://docs.usertour.io/api-reference/company-memberships/list.md): Retrieve company memberships by expanding the memberships field of a user or company object. Direct listing of memberships is not supported. - [The content object](https://docs.usertour.io/api-reference/content/model.md) - [Get a content](https://docs.usertour.io/api-reference/content/get.md): Retrieves a single content object by its ID. - [List content](https://docs.usertour.io/api-reference/content/list.md): Retrieves a paginated list of all content objects in your account. - [The content version object](https://docs.usertour.io/api-reference/content-versions/model.md) - [The question object](https://docs.usertour.io/api-reference/content-versions/the-question-model.md) - [Get a content version](https://docs.usertour.io/api-reference/content-versions/get.md): Retrieves a specific version of a content object by its version ID. - [List content versions](https://docs.usertour.io/api-reference/content-versions/list.md): Retrieves a paginated list of versions for a specific content object. - [The content session object](https://docs.usertour.io/api-reference/content-sessions/model.md) - [The answer object](https://docs.usertour.io/api-reference/content-sessions/the-answer-model.md) - [Get a content session](https://docs.usertour.io/api-reference/content-sessions/get.md): Retrieves a specific content session by its ID, including all its attributes and relationships. - [Delete a content session](https://docs.usertour.io/api-reference/content-sessions/delete.md): Permanently deletes a content session and all its associated data (progress, survey answers, etc.). This operation cannot be undone. The API is idempotent - attempting to delete a non-existent session will return a success response. - [End a content session](https://docs.usertour.io/api-reference/content-sessions/end.md): Marks a content session as completed and records its completion time. This operation is idempotent - calling it multiple times on the same session will not cause any issues. - [List content sessions](https://docs.usertour.io/api-reference/content-sessions/list.md): Retrieves a paginated list of content sessions with optional filtering and expansion options. - [The event definition object](https://docs.usertour.io/api-reference/event-definitions/model.md) - [List event definitions](https://docs.usertour.io/api-reference/event-definitions/list.md): Retrieves a paginated list of event definitions in your account. Each definition includes its name, code, and metadata. - [The attribute definition object](https://docs.usertour.io/api-reference/attribute-definitions/model.md) - [List attribute definitions](https://docs.usertour.io/api-reference/attribute-definitions/list.md): Retrieves a paginated list of attribute definitions in your account. Each definition includes its data type, scope, and metadata. - [2026](https://docs.usertour.io/changelog/2026.md): Usertour releases in 2026 - [2025](https://docs.usertour.io/changelog/2025.md): Usertour releases in 2025 ## OpenAPI Specs - [openapi](/api-reference-v2/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.