Documentation

Everything you need to use PasteBox.

Quick Start

  1. Go to Create a Paste
  2. Enter your content โ€” code, notes, links, anything text-based
  3. Choose visibility: Public, Login required, or Paid
  4. Click Create โ€” you get a shareable link instantly

No account needed for public pastes. Sign up to access the dashboard, analytics, and paid pastes.

Visibility Modes

๐Ÿ”“Public

Anyone with the link can view. No login required. Great for sharing code snippets, notes, or public announcements.

๐Ÿ”Login Required

Viewers must be signed in to see content. Ideal for community resources or gated knowledge bases.

๐Ÿ’ฐPaid

Set a price (minimum $0.50). Viewers pay once via Stripe to unlock the content. You keep 90% of revenue.

API

PasteBox has a minimal REST API for programmatic paste creation.

POST /api/paste
{
  "title": "My Paste",        // optional
  "content": "Hello world",   // required
  "visibility": "public",     // public | login_required | paid
  "price_cents": 500          // required if paid (โ‰ฅ50)
}
Response: { "slug": "abc123xyz" }

Rate limit: 20 requests/minute for anonymous callers.

Limits

FeatureFreePro
Pastes per month10Unlimited
Paid pastesโœ“โœ“
AnalyticsView count onlyFull analytics
API rate limit20/min (anon)Unlimited (auth)

FAQ

Can I delete a paste?
Dashboard paste management is coming soon. Contact us to delete content manually.
What happens if a buyer requests a refund?
All sales are final by default. Handle refund disputes directly with your buyers via Stripe dashboard.
Is my content encrypted?
Content is stored in our database and transmitted over HTTPS. We do not encrypt content at rest โ€” avoid storing sensitive secrets.
What payment methods are supported?
All payment methods supported by Stripe in your region โ€” credit cards, Apple Pay, Google Pay, etc.
Can I share the same paid paste link after buying?
The post-payment access URL contains a session token. Sharing it grants access to the recipient. To protect your content, keep the link private.