Try it free

Create a frontend

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026
  • Early Access

Create a web or mobile frontend for Dynatrace Real User Monitoring with the RUM API by setting its name, display name, type, and whether RUM is enabled.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/rum/v1/frontends

Overview

You use this operation to create a web or mobile frontend for Real User Monitoring. The request body sets the frontendName, displayName, type, and enableRum fields. A 201 response returns information about the created frontend, including its new Smartscape FRONTEND ID, which other RUM operations use.

Authentication

To execute this request, you need a platform token or OAuth access token with rum:frontends:write scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
bodyFrontendRequestDto

Define your frontend

bodyRequired

Request body objects

The FrontendRequestDto object

Define your frontend

ElementTypeDescriptionRequired
displayNamestring

The display name of the frontend.

Required
enableRumboolean

Whether RUM should be enabled for this frontend. Also applies the same value to RUM's enabledOnGrail setting.

Optional
frontendNamestring

The unique frontend name. Must be unique across web and mobile. Can't be changed later.

Required
typestring

The type of the frontend.

The element can hold these values
  • CORDOVA
  • MOBILE
  • WEB_AGENTLESS
  • WEB_AUTO_INJECTED
Required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"displayName": "string",
"enableRum": true,
"frontendName": "string",
"type": "CORDOVA"
}

Response

Response codes

CodeTypeDescription
201FrontendResponseDto

Frontend created. The response contains info about the created application including the new FRONTEND ID.

400ErrorEnvelope

Bad request.

4XXErrorEnvelope

Client error.

5XXErrorEnvelope

Server error.

Response body objects

The FrontendResponseDto object

Your frontend

ElementTypeDescription
displayNamestring

The display name of the frontend.

frontendNamestring

The unique frontend name.

idstring

The Smartscape FRONTEND ID.

typestring

The type of the frontend.

The element can hold these values
  • CORDOVA
  • MOBILE
  • WEB_AGENTLESS
  • WEB_AUTO_INJECTED

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
codeinteger

The HTTP status code

constraintViolationsConstraintViolation[]

A list of constraint violations

messagestring

The error message

The ConstraintViolation object

A list of constraint violations

ElementTypeDescription
locationstring-
messagestring-
parameterLocationstring-
The element can hold these values
  • HEADER
  • PATH
  • PAYLOAD_BODY
  • QUERY
pathstring-

Response body JSON models

{
"displayName": "string",
"frontendName": "string",
"id": "string",
"type": "CORDOVA"
}
{
"error": {
"code": 1,
"constraintViolations": [
{
"location": "string",
"message": "string",
"parameterLocation": "HEADER",
"path": "string"
}
],
"message": "string"
}
}
Related tags
Platform APIDynatrace Platform