OnePeek API: secure handoff links in your product
Create self-destructing, end-to-end encrypted links from your own app. Your users get the same zero-knowledge protection as onepeek.io, and you never have to store their secrets.
The API is not publicly available yet. The examples below show the planned interface and may change before launch.
What teams build with it
Client portals
Hand over account credentials and documents to clients with a link that opens once.
Helpdesks & ticketing
Ask customers for passwords or keys with a request link instead of plain-text replies in the ticket.
Onboarding & provisioning
Send each new user their first password automatically when an account is created.
CRMs & HR systems
Collect bank details, ID documents and contracts without storing them in your own database.
Create a link
The SDK encrypts on your server or in the browser before anything is sent. OnePeek stores ciphertext only; the key lives in the link fragment.
// Encrypt on your side, then store only ciphertext with OnePeek
import { createSecret } from '@onepeek/sdk';
const { url, id, expiresAt } = await createSecret({
apiKey: process.env.ONEPEEK_API_KEY,
text: 'db-password-here',
views: 1,
expiresIn: '24h',
recipientEmail: 'dev@client.com', // optional email-code lock
});
// url => https://onepeek.io/s/AbC123xyZ#<key that never reaches us>Know when it’s opened
Signed webhooks for secret.opened, secret.expired, secret.burned and request.fulfilled.
POST https://your-app.com/hooks/onepeek
X-OnePeek-Signature: sha256=...
{
"event": "secret.opened",
"id": "AbC123xyZ",
"opened_at": "2026-10-27T09:12:44Z",
"country": "IN"
}Planned for launch
- REST API with per-workspace API keys and scopes
- JavaScript/TypeScript SDK and a CLI (onepeek send < file)
- Request links for collecting secrets from your users
- All controls from the web app: views, expiry, recipient lock, countries, time windows
- Webhooks signed with HMAC-SHA256
- Audit log export for your workspace
₹2,999/month with a usage allowance
Then pay as you go for extra links. Volume and OEM pricing available.