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.
Header Parameters
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"
}Get Link Visit Statistics GET
Retrieves click/visit statistics for a specific short URL. You can get daily, monthly, or all-time statistics by specifying the period parameter.
Update Text Sharing PUT
Updates the content and/or title of an existing text sharing. The domain and slug identify which text to update.