Skip to Content
S.EE Docs
API Reference

Update Short URL

Updates the destination URL and/or title of an existing short URL. The domain and slug identify which link to update.

PUT
/api/v1/shorten

Header Parameters

Authorization*string

Your API key

Request Body

Updated short URL details

application/json
  1. body
domain*string

The domain where the short URL is hosted (e.g., "s.ee")

Lengthlength <= 255
slug*string

The slug of the short URL to update (e.g., "abc123")

Lengthlength <= 255
target_url*string

The new destination URL

Lengthlength <= 2000
title*string

The new title for this short link

Lengthlength <= 255

Response Body

OK

application/json
  1. response
code?integer

Response status code (200 indicates success)

data?unknown

Response payload

message?string

Human-readable status message

Example Request
curl -X PUT 'https://s.ee/api/v1/shorten' \  -H 'Authorization: string' \  -H 'Content-Type: application/json' \  -d '{  "domain": "string",  "slug": "string",  "target_url": "string",  "title": "string"}'
Example Response200
{  "code": 0,  "data": null,  "message": "string"}