Create Short URL
Creates a new short URL for your destination link. You can optionally specify a custom slug, password protection, expiration time, and tags for organization.
Header Parameters
Your API key
Request Body
application/json
Short URL configuration
Your preferred custom slug (e.g., "my-link"). If not provided, a random slug will be generated.
length <= 255The domain to use for your short URL (e.g., "s.ee")
"s.ee"length <= 255URL to redirect visitors to after this short link expires
length <= 2000Unix timestamp when this short link should expire (e.g., 1735689600)
Optional password to protect this short link (3-32 characters)
3 <= length <= 32Array of tag IDs to organize this link (get available tags via /api/v1/tags)
The destination URL you want to shorten (required)
length <= 2000A descriptive title for this short link (for your reference)
length <= 255Response Body
application/json
curl -X POST "https://s.ee/api/v1/shorten" \ -H "Authorization: string" \ -H "Content-Type: application/json" \ -d '{ "domain": "s.ee", "target_url": "string" }'{
"code": 0,
"data": {
"custom_slug": "string",
"short_url": "string",
"slug": "string"
},
"message": "string"
}SM.MS Compatibility
Migrate from SM.MS to S.EE with minimal code changes
Create Short URL (Simple Mode) GET
A simplified way to create short URLs using query parameters instead of a JSON body. Ideal for quick integrations, bookmarklets, or when you need a plain text response. Set json=true for JSON response format.