WebDraft

Share code snippets and drafts with anonymous links

Create Draft

API & Info

How it works

Create a draft to generate a unique share link. Send the link to anyone to let them view your code snippet. Choose your expiration time (unlimited, 7 days, or 30 days). Keep your delete token secret to remove your draft anytime. No account needed!

Available Endpoints

  • GET/api/health
  • POST/api/draft
  • GET/api/draft/{id}
  • DELETE/api/draft/{id}
  • GET/api/drafts

Quick View

Active drafts will appear here...