S.EE Docs
Tham chiếu API

Tạo chia sẻ văn bản

Tạo nội dung văn bản có thể truy cập qua URL rút gọn, chẳng hạn văn bản thuần, đoạn mã hoặc 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"
}