---
title: "Create short URL"
method: POST
path: "/api/{org_id}/short"
tags: ["Short Url"]
---

# Create short URL

`POST /api/{org_id}/short`

## 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}/short`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/short/post.ts> (a function with typed inputs; its response is checked against the schema)

Generates a shortened URL from a longer original URL. This is useful for creating more manageable links for dashboards, reports, or search queries that can be easily shared via email, chat, or documentation. The short URL remains valid and can be used to redirect back to the original destination.

## Path parameters

- `org_id` string, required

## Request body

- object
  - `original_url` string, required

## Response `200`

Shortened URL

- object
  - `short_url` string, required

## Other responses

- `400`: Invalid request

---

[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)
