S.EE Docs
API Reference

Create Text Sharing

Creates a shareable text snippet with a unique URL. Perfect for sharing code, notes, or any text content. Supports plain text, source code (with syntax highlighting), and Markdown formatting.

POST
/api/v1/text

Header Parameters

Authorization*string

Your API key

Request Body

application/json

Text content and settings

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://s.ee/api/v1/text" \  -H "Authorization: string" \  -H "Content-Type: application/json" \  -d '{    "content": "string",    "title": "string"  }'
{
  "code": 0,
  "data": {
    "custom_slug": "string",
    "short_url": "string",
    "slug": "string"
  },
  "message": "string"
}