S.EE Docs
API Reference

Update Short URL

This API allows you to update a short link by providing the domain, slug, and new information.

PUT
/api/v1/shorten

Header Parameters

Authorization*string

API key

Request Body

application/json

request

domain*string

domain is the domain name

Default"s.ee"
Lengthlength <= 255
slug*string

slug is the short URL slug

Lengthlength <= 255
target_url*string

target_url is the original URL

Lengthlength <= 255
title*string

title is the title of the short URL

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