---
title: "Create Short Url"
method: POST
path: "/short-urls/create"
tags: ["short-urls"]
---

# Create Short Url

`POST /short-urls/create`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/short-urls/create`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Create a new short URL for sharing a character.

## Request body

- CreateShortUrlRequest
  - `character_id` string, required
  - `utm_source` string, nullable
  - `utm_medium` string, nullable
  - `utm_campaign` string, nullable
  - `utm_content` string, nullable

## Response `200`

Successful Response

- ShortUrlResponse
  - `code` string, required
  - `short_url` string, required
  - `character_id` string, required
  - `click_count` integer, required

## Other responses

- `422`: Validation Error

---

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