S.EE Docs
Developers

Getting Started

S.EE REST API for creating, managing, and tracking short URLs, text sharing, and file sharing

Overview

The S.EE API lets you programmatically create and manage short links, text sharing, and file sharing. Use it to:

  • Create short links at scale
  • Share text snippets and code with syntax highlighting
  • Upload and share files
  • Manage custom domains
  • Retrieve analytics data
  • Integrate into your applications

Getting Started

Prerequisites

  1. A S.EE account with an active plan
  2. An API access token

Authentication

All API requests require an access token in the Authorization header:

Authorization: Bearer YOUR_ACCESS_TOKEN

Base URL

https://s.ee/api/v1

Example Requests

Create Short URL

curl -X POST "https://s.ee/api/v1/shorten" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "target_url": "https://example.com/very-long-url",
    "domain": "s.ee",
    "custom_slug": "my-link"
  }'

Create Text Sharing

curl -X POST "https://s.ee/api/v1/text" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "My Code Snippet",
    "content": "console.log(\"Hello, World!\");",
    "text_type": "source_code",
    "domain": "fs.to"
  }'

Upload File

curl -X POST "https://s.ee/api/v1/file/upload" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -F "file=@/path/to/your/file.png" \
  -F "domain=fs.to"

Resources

On this page