Tham chiếu API
Tạo URL rút gọn (chế độ đơn giản)
Nhanh chóng tạo URL rút gọn bằng các tham số đơn giản hóa, phù hợp với các tình huống không cần cấu hình.
Query Parameters
signature*string
Your API key
url*string
The destination URL to shorten (required)
domain?string
Domain for the short URL (optional, uses default if omitted)
custom_slug?string
Your preferred custom slug (optional)
title?string
A descriptive title for this link (optional)
tag_ids?array<integer>
Tag IDs to categorize this link (optional)
password?string
Password to protect this link (optional)
expire_at?integer
Unix timestamp when this link should expire (optional)
json?boolean
Set to true to receive JSON response instead of plain text
Response Body
application/json
curl -X GET "https://s.ee/api/v1/shorten?signature=string&url=string"{
"code": 0,
"data": {
"custom_slug": "string",
"short_url": "string",
"slug": "string"
},
"message": "string"
}