S.EE Docs
API Reference

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.

POST
/api/v1/shorten

Header Parameters

Authorization*string

Your API key

Request Body

application/json

Short URL configuration

TypeScript Definitions

Use the request body type in TypeScript.

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