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

# Create Short Url

`POST /short-urls/create`

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.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
