# 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.

Updated November 27, 2026. By Vela Partners. https://artifactsend.com/guides/embed-document-sharing-in-your-app

## 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.

| Tool | What this set costs |
| --- | --- |
| ArtifactSend | $0, free, no card, no trial |
| DocSend | $150 a month ($1,800 a year) |
| Papermark | €99 a month (€1,188 a year) |
| Peony | $52 a month ($624 a year) per admin |
| Digify | $350 a month ($4,200 a year), 3 not listed |

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.

## 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

1. Your back end holds one ArtifactSend key as a secret.
2. When a user attaches a file, upload it with POST /artifacts and store the returned id and url on your record.
3. For each recipient, make a link with POST /artifacts/{id}/links.
4. Show the link in your UI. Readers open the ArtifactSend door, not your login.
5. 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.

## Questions

**Can I show the viewer inside my own page?**

Share the link, or embed the reader from the app's embed option for a page you own.

**Does each of my customers need an ArtifactSend account?**

With one key, all uploads go into your space. Ask us if you need separate spaces.

**Is there an SDK?**

Not yet. The OpenAPI file works with any generator.

## Sources

- [ArtifactSend API reference](https://artifactsend.com/developers)
- [ArtifactSend OpenAPI 3.1 document](https://artifactsend.com/api/v1/openapi.json)
