Puny creates secure links with passwords, allowlisting, and auto-expiry — plus one-time capsules that store sensitive information and self-destruct after a single use.
# Create a self-destructing capsule
curl https://api.puny.io/v1/capsules \
-H "Authorization: Bearer $PAYING_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "db-prod-password: hunter2",
"one_time": true,
"password": "shared-secret",
"expires_in": "24h"
}'
# → { id, url, expires_at, one_time: true } Secure links and one-time capsules with the access controls built in. Set them per request.
Require a password before a link resolves, so only holders of the secret can open it.
Restrict access to specific email addresses or domains — everyone else is blocked.
Set links to expire after a time window or a maximum number of opens.
Store sensitive data in a capsule that reveals once and self-destructs after a single view.
Generate compact secure links you can share anywhere, with your own domain.
See when a link or capsule was opened so you can audit access programmatically.
Authenticate with a bearer token, post your secret with access rules, and Puny returns a short URL that self-destructs after one view.
Sign up and copy your sandbox and live API keys from the dashboard.
Pull puny-sdks for your language from the PayingCo GitHub org.
Post your secret with expiry and access rules — share the short URL that comes back.
Maintained libraries with auth, link, and capsule helpers built in.
The most-used routes. See the full reference for every parameter and field.
A link is a secure short URL with optional password, allowlisting, and auto-expiry that can point anywhere. A capsule stores sensitive information itself and self-destructs after a single view, so the data can't be read twice.
Each link can require a password, restrict access to an allowlist of email addresses or domains, and auto-expire after a set time or a maximum number of opens.
A one-time capsule reveals its contents on the first successful open and is then permanently destroyed, so the same capsule can never be read again.
Yes. Use sandbox keys to create test links and capsules and verify expiry and self-destruct behavior before going live.
Create an account, grab your keys, and ship your first secure link or capsule in minutes.
Get API keys