Developer documentation

Create onetime.ie links from your own code with the REST API, Web Crypto examples and the link format reference.

Where to start

Want to create links from a script? Start with the API quick start. Building a compatible client in another language? Read the link format reference.

Your client generates the key and the release token, encrypts the text and sends us only the encrypted text and a hash of the token. It then builds the recipient and status links from our response. Keep both full URLs out of your logs.

Start small

Ask us for an API key and try it with made-up text. Check that the link opens in a browser. Read the error cases before adding automatic retries: retrying a create makes a second link, and a reveal can only happen once.

Which page you need
You want to Read
Send your first requestThe API quick start. You need a key with the create permission.
Implement the encryption yourselfThe link format v1 reference, or bundle our Web Crypto module.
Check whether a link was revealedThe status endpoint, using the status token and a key from the same integration.

Frequently asked questions

Can I put the API key in frontend code?

No. Keep it on a server or another trusted environment. For sharing from a browser, people can use the website directly.

Can I test without an API key?

Yes. Mock the API in your tests. For a live test, use a real key and made-up data.