API for bots
Create and read pastes from the terminal or any script.
# Create a paste (E2EE recommended: encrypt client-side)
curl -X POST https://urlpaste.com/api/paste \
-H "Content-Type: application/json" \
-d '{"e2ee":true,"iv":"...","ct":"..."}'
# Response
{"slug":"aB3xYz","url":"https://urlpaste.com/aB3xYz"}
# Read a paste (raw)
curl https://urlpaste.com/api/aB3xYz
10 creates/min/IP · 60 reads/min/IP · 1 MB max