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