---
title: "Save Short Link"
method: PUT
path: "/api/v1/admin/short-links/{code}"
---

# Save Short Link

`PUT /api/v1/admin/short-links/{code}`

## Request

- Base URL: `https://ads.adace.website` (the document declares no server; this is the origin it was published from)
- URL: `https://ads.adace.website/api/v1/admin/short-links/{code}`
- Auth: none declared

## Path parameters

- `code` string, required

## Request body

- ShortLinkInput
  - `code` string, required
  - `target_path` string, required
  - `utm_source` string, required
  - `utm_medium` string, required
  - `utm_campaign` string, required
  - `utm_content` string, nullable
  - `note` string, nullable
  - `sent_count` integer, nullable
  - `cost_minor` integer, nullable
  - `cost_currency` string, nullable
  - `active` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adace/apis/adace-ads.md) · [All operations](https://skmtc.dev/adace/apis/adace-ads/llms.txt) · [OpenAPI document](https://skmtc.dev/adace/apis/adace-ads/revisions/c719d1ccac25?raw)
