Update Short Link
Update basic information for an existing short link.
Endpoint
PUT /v2/external/client/short-links/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Opaque short link ID |
Request Body
{
"id": "507f1f77bcf86cd799439011",
"title": "Updated Link Title",
"shortUrl": "updated-custom-url",
"category": "business",
"categoryTitle": "Business",
"categoryValue": "website",
"notes": "Internal notes about this link",
"isActive": true
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Short link ID (must match path parameter) |
title |
string | No | Updated title |
shortUrl |
string | No | Changed alias: 1–24 ASCII letters/digits/underscores/hyphens; unique within the domain |
originalUrl |
string | No | Updated public HTTP(S) destination, checked with the creation safety policy |
category |
string | No | Updated category identifier |
categoryTitle |
string | No | Updated category display name |
categoryValue |
string | No | Updated category value |
notes |
string | No | Internal notes (max 1000 characters) |
isActive |
boolean | Yes | Whether the link is active |
Response
{
"status": true,
"message": "Short link updated successfully",
"data": {
"id": "507f1f77bcf86cd799439011",
"originalUrl": "https://example.com/very/long/url",
"shortUrl": "updated-custom-url",
"title": "Updated Link Title",
"category": "business",
"isActive": true,
"updatedAt": "2024-01-15T11:00:00Z"
}
}
Notes
- Only links in the API key workspace scope can be updated
- Short URL changes must be unique within the link’s domain; reserved/deleted codes return 409. Existing unchanged legacy aliases remain valid.
- All plan limits and validations apply
For domain moves, SEO, restrictions, UTM, routing and QR edits, see Feature API Coverage. Those separate dashboard endpoints require session/Bearer authentication.
