RUM JavaScript code API - GET latest version

Returns the most recent version of the Real User Monitoring JavaScript code version available for your environment.

The version is a natural number, a higher number indicates a newer version. You can check the version you actually use by executing the GET the current version of the Real User Monitoring JavaScript code request.

If a newer version is available, we recommend that you update the RUM JavaScript code in your applications. You can get the most recent code either as HTML tag or inline code.

The request produces a plain/text payload.

  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/rum/jsLatestVersion
  • SaaS https://{your-environment-id}
  • Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/v1/rum/jsLatestVersion


To execute this request, you need the Real user monitoring JavaScript tag management (RumJavaScriptTagManagement) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.


The request doesn't provide any configurable parameters.


The response is a plain text, showing the most recent RUM JavaScript code version.


In this example, the request inquires the latest version of the RUM JavaScript code, available for the environment.

The API token is passed in the Authorization header.

The most recent RUM JavaScript code is 10156181011154332.


curl -X GET \ \
  -H 'Authorization: Api-Token abcdefjhij1234567890'

Request URL

Response body


Response code