API Reference
Update Text Sharing
Updates the content and/or title of an existing text sharing. The domain and slug identify which text to update.
Header Parameters
Authorization*string
Your API key
Request Body
application/json
Updated text content and settings
content*string
The new text content (up to 2MB)
Length
length <= 2097152domain*string
The domain where the text sharing is hosted (e.g., "fs.to")
Length
length <= 255slug*string
The slug of the text sharing to update
Length
length <= 255title*string
The new title for this text sharing
Length
length <= 255Response Body
application/json
curl -X PUT "https://s.ee/api/v1/text" \ -H "Authorization: string" \ -H "Content-Type: application/json" \ -d '{ "content": "string", "domain": "string", "slug": "string", "title": "string" }'{
"code": 0,
"data": {
"code": 0,
"data": {
"tags": [
{
"id": 0,
"name": "string"
}
]
},
"message": "string"
},
"message": "string"
}Create Text Sharing POST
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.
Delete Text Sharing DELETE
Permanently deletes a text sharing. This action cannot be undone. The slug will become available for reuse after deletion.