OpenApps Paste

For developers and AI assistants

Hand someone a long text in one call.

When an assistant or a script needs to give a person or another agent a log, a script or a long answer, one request returns a link to it. No key, no account, no daily limit.

# Make a paste and get its link
curl -X POST https://functions.openapps.xyz/apps/6eca480d6447d873e2e5eed9/api/pastes \
  -H 'content-type: application/json' \
  -d '{"content": "2026-10-19 12:00:01 ERROR timeout after 30s",
       "title": "build log", "expires": "1d"}'

# Send a file as it is, deleted after the first view
curl --data-binary @deploy.sh -H 'content-type: text/plain' \
  'https://functions.openapps.xyz/apps/6eca480d6447d873e2e5eed9/api/pastes?title=deploy.sh&burn=1&expires=1w'

# Read one as plain text
curl https://functions.openapps.xyz/apps/6eca480d6447d873e2e5eed9/api/pastes/PASTE_ID/raw

# Delete it, with the ownerKey from the first call
curl -X DELETE https://functions.openapps.xyz/apps/6eca480d6447d873e2e5eed9/api/pastes/PASTE_ID \
  -H 'x-owner-key: OWNER_KEY'

What to know

  • The answer holds url (the page for people), rawUrl (plain text for programs), adminUrl and ownerKey.
  • The ownerKey edits or deletes that paste later, so treat it like a password.
  • One request body can be up to 128 KB. A bigger one gets a 413 error, with no CORS headers. The website takes up to 512 KB.
  • expires is never, 10m, 1h, 1d, 1w, 1mo or 1y. burn: true deletes the paste the first time anyone reads it. If nobody reads it, it follows expires, which defaults to never, so set both.
  • Pastes locked with a password or a key in the link are made in the website, because the browser does the scrambling. The API cannot read or make them.
  • Nobody can list or search pastes. Do not paste secrets without burn.

Full reference

/llms.txt has every route, option and error. /openapi.json is the same as an OpenAPI file. /index.md is the homepage as plain text.

Back to Paste