API Reference
Create Short URL (Simple Mode)
Creates a short URL using query parameters instead of a JSON body. Returns plain text by default; set json=true for a JSON response. This endpoint can be used in bookmarklets and other integrations that send query parameters.
GET
signature*stringYour API key
url*stringThe destination URL to shorten (required)
domain?stringDomain for the short URL (optional, uses default if omitted)
custom_slug?stringYour preferred custom slug (optional)
title?stringA descriptive title for this link (optional)
tag_ids?array<integer>Tag IDs to categorize this link (optional)
password?stringPassword to protect this link (optional)
expire_at?integerUnix timestamp when this link should expire (optional)
json?booleanSet to true to receive JSON response instead of plain text
OK
application/json- response
code?integerResponse status code (200 indicates success)
data?Short URL creation response
message?stringHuman-readable status message
curl -X GET 'https://s.ee/api/v1/shorten?signature=string&url=string'Example Response200
{ "code": 0, "data": { "custom_slug": "string", "short_url": "string", "slug": "string" }, "message": "string"}