S.EE

Update Short URL

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

PUT
/api/v1/shorten
/api/v1/shorten

Request Body

application/jsonRequired

request

domain
Required
string

domain is the domain name

Maximum length: 255

slug
Required
string

slug is the short URL slug

Maximum length: 255

target_url
Required
string

target_url is the original URL

Maximum length: 65535

title
Required
string

title is the title of the short URL

Maximum length: 255

Header Parameters

Authorization
Required
string

API key

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"
  }'

OK

{
  "code": 0,
  "data": {
    "custom_slug": "string",
    "short_url": "string",
    "slug": "string"
  },
  "message": "string"
}