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

application/json

Updated short URL details

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

application/json

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"  }'
{
  "code": 0,
  "data": {
    "code": 0,
    "data": {
      "tags": [
        {
          "id": 0,
          "name": "string"
        }
      ]
    },
    "message": "string"
  },
  "message": "string"
}