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
Request Body
application/json
Short URL configuration
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/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.