---
title: "Create user's RUM ingestion token"
method: POST
path: "/api/{org_id}/rumtoken"
tags: ["Organizations"]
---

# Create user's RUM ingestion token

`POST /api/{org_id}/rumtoken`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/rumtoken`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/rumtoken/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new Real User Monitoring (RUM) ingestion token for the authenticated user within the specified organization. This endpoint is used when no RUM token exists yet and you need to generate the initial token for RUM data collection.

## Path parameters

- `org_id` string, required

## Response `200`

Success

- object
  - `data` RumIngestionToken, required
    - `rum_token` string, nullable
    - `user` string, required

## Other responses

- `404`: NotFound

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
