Skip to Content
Open Replay OpenReplay
DOCS
  • Home

  • Getting started

  • Deployment

    • Overview EN
    • Deploy to AWS EN
    • Deploy to Azure EN
    • Deploy to GCP EN
    • Deploy to Digital Ocean EN
    • Deploy to Kubernetes EN
    • Deploy to OVHCloud EN
    • Deploy to Scaleway EN
    • Deploy from Source EN
    • Deploy to Ubuntu EN
    • OpenReplay Administration EN
    • Upgrade Deployment EN
  • Tracker Setup

    • Overview EN
    • JS Snippet EN
    • React EN
    • Vue EN
    • Next.js EN
    • Nuxt EN
    • Remix EN
    • Svelte EN
    • Angular EN
    • Gatsby EN
  • Administration

    • Overview EN
    • Cleanup Storage EN
    • Configure SMTP EN
    • External Database (Postgres) EN
    • External Storage EN
    • Proxy Settings EN
    • Secure OpenReplay EN
    • Single Sign-On (SSO) EN
  • How-tos

    • Overview EN
    • Identify a User EN
    • Add users to your team EN
    • Metadata EN
    • Custom Events EN
    • Error reporting EN
    • Upload Source maps EN
    • Sanitize Data EN
    • Custom Heuristics EN
    • OmniSearch EN
    • Custom Dashboards EN
    • Network options EN
  • Plugins

    • Overview EN
    • Assist EN
    • Axios EN
    • Fetch EN
    • GraphQL EN
    • MobX EN
    • NgRx EN
    • Pinia EN
    • VueX EN
    • Profiler EN
    • Redux EN
    • Zustand EN
  • Integrations

    • Overview EN
    • Bugsnag EN
    • CloudWatch EN
    • Datadog EN
    • Elastic EN
    • GitHub EN
    • Google Tag Manager EN
    • Jira Cloud EN
    • MSTeams EN
    • NewRelic EN
    • Rollbar EN
    • Segment EN
    • Sentry EN
    • Slack EN
    • Stackdriver EN
    • SumoLogic EN
  • Troubleshooting

    • Overview EN
    • Clear Cache EN
    • Content Security Policy (CSP) EN
    • JS Errors EN
    • Localhost Testing EN
    • Session Recording Issues EN
    • Sourcemaps issues EN
    • Supported Browsers EN
    • Deployment issues EN
  • Exporting data

    • Overview EN
    • Exported Data EN
    • API (BETA)

      • Overview
      • Assist
      • Events
      • Jobs
      • Projects
      • Sessions
      • Users
    • JavaScript SDK

      • Overview
      • Initialization
      • Methods
      • event
      • getSessionToken
      • getSessionID
      • getSessionURL
      • handleError
      • isActive
      • issue
      • setUserID
      • setMetadata
      • start
      • stop
    • OpenReplay CLI

  • Join Slack Community
    Blog
    Browse GitHub

On this page

  • Overview
  • Signature
  • Return value

JavaScript SDK ⁠-⁠ getSessionToken method

Danger

This method is deprecated, instead use the sessionHash parameter of the start method.

Signature

Section titled Signature
getSessionToken(): string | null | undefined

Return value

Section titled Return value

Returns the session’s hash token.

On this page

  • Overview
  • Signature
  • Return value
  • OpenReplay
  • .
  • Privacy Policy
  • .
  • Terms