Welcome to Forvia

Simple, private sharing.

Choose a tool to get started.

Instant clipboard sharing.

Share anything.
Instantly.

Text, links, or files. Optionally self-destructing. No accounts. No tracking. Just paste.

4–10 characters, A–Z and 0–9. Leave blank for a random code.
local_fire_department Destroy after first view
Permanently deleted once retrieved
check
Ready to share
Anyone with this code can retrieve your paste.
Your code
link
error
▶ Press Run to execute
No dependencies added
Files
code

Forvia Paste API

Create, retrieve, and manage pastes programmatically. No auth required.

Base URL

https://forvia.systems

POST Create Paste

/api/paste

Create a new paste. Returns a code and URL you can share.

Request Body JSON

FieldTypeRequiredDescription
contentstringYesThe text content of the paste
codestringNoCustom code (4-10 uppercase alphanumeric). Auto-generated if omitted.
burnbooleanNoIf true, paste is deleted after first retrieval. Default: false

Response 200 OK

FieldTypeDescription
codestringThe unique paste code
urlstringFull URL to retrieve the paste
burnbooleanWhether the paste is burn-on-read
sizenumberContent size in bytes

Example

curl -X POST https://forvia.systems/api/paste \
  -H "Content-Type: application/json" \
  -d '{"content": "Hello, world!", "burn": false}'
{
  "code": "A3X9K2",
  "url": "https://forvia.systems/clipboard?code=A3X9K2",
  "burn": false,
  "size": 13
}

Custom Code

curl -X POST https://forvia.systems/api/paste \
  -H "Content-Type: application/json" \
  -d '{"content": "My secret note", "code": "MYCODE", "burn": true}'

GET Retrieve Paste

/api/paste/:code

Retrieve paste content by code. Returns raw content with appropriate content-type.

Path Parameters

ParameterTypeDescription
codestringThe paste code (3-10 uppercase alphanumeric)

Response Headers

HeaderDescription
Content-Typetext/plain for text, application/zip for zipped files
X-Burntrue if paste was burn-on-read (deleted after this request)

Example

curl https://forvia.systems/api/paste/A3X9K2
Hello, world!

DELETE Delete Paste

/api/paste/:code

Permanently delete a paste. Only works for non-burn pastes that haven't been evicted.

Example

curl -X DELETE https://forvia.systems/api/paste/A3X9K2
{
  "ok": true,
  "code": "A3X9K2",
  "message": "Paste deleted."
}

GET Stats

/api/stats

Get platform-wide statistics.

Response 200 OK

curl https://forvia.systems/api/stats
{
  "total_pastes": 142,
  "total_views": 8731,
  "active_users": 29
}

Error Responses

All errors return JSON with an error field.

StatusMeaning
400Invalid code format or empty content
404Paste not found
409Code already exists (when using custom code)
429Rate limited (5 failed requests per minute)
{
  "error": "Code not found."
}

Rate Limits

5 failed retrieve/delete attempts per IP per 60 seconds. Successful requests are not rate-limited.

Storage

Total storage capped at 20GB. When exceeded, oldest non-burn pastes are evicted automatically. Burn-on-read pastes are never evicted by the cleaner.

lightbulb

Suggestions

Help us improve. Share your ideas and vote on what matters most.

Loading suggestions...
lightbulb
lightbulb Suggestion