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.
PUT
Updated text content and settings
application/json- body
content*stringThe new text content (up to 2MB)
Length
length <= 2097152domain*stringThe domain where the text sharing is hosted (e.g., "fs.to")
Length
length <= 255slug*stringThe slug of the text sharing to update
Length
length <= 255title*stringThe new title for this text sharing
Length
length <= 255OK
application/json- response
code?integerResponse status code (200 indicates success)
data?unknownResponse payload
message?stringHuman-readable status message
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"}'Example Response200
{ "code": 0, "data": null, "message": "string"}Create Text Sharing POST
Creates a text snippet with a unique URL for sharing code, notes, or other text. Supports plain text, source code with syntax highlighting, and Markdown.
Delete Text Sharing DELETE
Permanently deletes a text sharing. This action cannot be undone. The slug will become available for reuse after deletion.