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

TypeScript Definitions

Use the request body type in TypeScript.

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