---
title: "Create the RUM configuration"
method: POST
path: "/api/v2/rum/config"
tags: ["RUM Config"]
---

# Create the RUM configuration

`POST /api/v2/rum/config`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/rum/config`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/rum/config/post.ts> (a function with typed inputs; its response is checked against the schema)

Create the RUM configuration for your organization.
Returns the RUM configuration object from the request body when the request is successful.

## Request body

- RumConfigCreateRequest: Request body for creating the RUM configuration.
  - `data` RumConfigCreateData, required: Object describing the RUM configuration to create.
    - `attributes` RumConfigCreateAttributes, required: Attributes of the RUM configuration to create.
      - `enforced_application_tags` boolean, required: Whether application tags are enforced for the RUM applications in the organization.
    - `type` 'rum_config', required: The type of the resource. The value should always be `rum_config`.

## Response `201`

Created

- RumConfigResponse: The RUM configuration object.
  - `data` RumConfigData, required: The RUM configuration data.
    - `attributes` RumConfigAttributes, required: Attributes of the RUM configuration.
      - `disabled` boolean: Whether the RUM configuration is disabled for the organization.
      - `enforced_application_tags` boolean, required: Whether application tags are enforced for the RUM applications in the organization.
      - `enforced_application_tags_updated_at` string, date-time: Timestamp of when the enforced application tags setting was last updated.
      - `enforced_application_tags_updated_by` string: Handle of the user who last updated the enforced application tags setting.
      - `ootb_metrics_version` integer: Version of the out-of-the-box metrics installed for the organization.
      - `ootb_metrics_version_installed_at` string, date-time: Timestamp of when the out-of-the-box metrics version was installed.
      - `retention_filters_enabled` boolean, required: Whether retention filters are enabled for the organization.
      - `retention_filters_enabled_updated_at` string, date-time: Timestamp of when the retention filters setting was last updated.
      - `retention_filters_enabled_updated_by` string: Handle of the user or job who last updated the retention filters setting.
    - `id` string, required: The organization ID associated with the RUM configuration.
    - `type` 'rum_config', required: The type of the resource. The value should always be `rum_config`.

## Other responses

- `400`: Bad Request
- `403`: Not Authorized
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/3f70db624329?raw)
