---
title: "Shorturls Update Route"
method: PUT
path: "/shorturls/{id}"
tags: ["shorturls"]
---

# Shorturls Update Route

`PUT /shorturls/{id}`

## Request

- Base URL: `https://api.robopost.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robopost.app/shorturls/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- ShortUrlUpdate
  - `html_title` string
  - `original_url` string, uri

## Response `200`

Successful Response

- ShortUrlRead
  - `_id` string, required
  - `original_url` string, uri, required
  - `short_url` string, uri
  - `html_title` string
  - `html_description` string
  - `html_og_image_stored_object_id` string
  - `click_count` integer
  - `unique_click_count` integer
  - `is_deleted` boolean
  - `team_id` string
  - `user_id` string
  - `last_click_dt` string, date-time
  - `is_html_attr_fetched` boolean
  - `is_analyzable` boolean
  - `last_analytics_sync_dt` string, date-time
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `404`: Not found
- `422`: Validation Error

---

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