How to add secure document sharing and read tracking to your own product
Your back end calls the ArtifactSend API with a server-side key to upload documents, make gated links and pull reports, so you can offer tracked sharing in your product without building a viewer, a door or analytics.
Free here, side by side
Everything here is free on ArtifactSend, with no limits on documents, links, readers or team members. The same set costs $150 a month on DocSend, or $1,800 a year.
Covers Email before viewing · Email verification code · A separate link for each person · Alert when someone opens it · How far each reader got, and time per section · Password on a link · Turn downloads off · Watermark with the reader's email
Rival facts from each vendor's public pricing and feature pages, November 2026, prices billed yearly. Not listed means the vendor's pages do not say. Prices change, so check theirs before you decide. All features, vendor by vendor.
When this makes sense
- A CRM that wants a sent proposal to show open and read time.
- A fundraising or deal tool that needs investor-grade sharing.
- An onboarding platform that sends contracts and wants to know they were read.
- An internal tool that shares AI-made reports with clients.
The architecture
- Your back end holds one ArtifactSend key as a secret.
- When a user attaches a file, upload it with POST /artifacts and store the returned id and url on your record.
- For each recipient, make a link with POST /artifacts/{id}/links.
- Show the link in your UI. Readers open the ArtifactSend door, not your login.
- A scheduled job reads GET /links/{id}/report and fills your own engagement panel.
A thin wrapper
export async function shareFile(buffer, name, recipients) {
const H = { Authorization: "Bearer " + process.env.ARTIFACTSEND_KEY };
const art = await (await fetch("https://artifactsend.com/api/v1/artifacts?name=" + encodeURIComponent(name), { method: "POST", headers: H, body: buffer })).json();
const links = [];
for (const r of recipients) {
const l = await (await fetch("https://artifactsend.com/api/v1/artifacts/" + art.id + "/links", { method: "POST", headers: { ...H, "Content-Type": "application/json" }, body: JSON.stringify({ name: r.name, email: r.email, onlyThem: true }) })).json();
links.push({ ...r, url: l.url, id: l.id });
}
return { artifactId: art.id, links };
}
Things to know
- A key acts as its owner in one space. Documents you upload belong to that space.
- The API is free, rate limited to 120 calls a minute per key.
- Readers see the ArtifactSend door, which you can brand in the app.
- Keep the key out of the browser. CORS is open, so a leaked key is usable from anywhere.