S.EE Docs
API 參考

建立文字分享

建立可透過短網址存取的文字內容,例如純文字、程式碼片段或 Markdown。

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