# AI agents that publish documents and read who opened them: REST API or MCP?

> Use the REST API when your own code or a back end drives the work, and the MCP server when an assistant such as Claude, ChatGPT, Claude Code, Codex or Cursor should publish and ask who read what. Both reach the same links and reports.

Updated November 27, 2026. By Vela Partners. https://artifactsend.com/guides/ai-agent-publish-and-track-documents-api

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

## The short answer

Both run on the same functions, so a link made through one shows in the other. Pick by who holds the credentials and who decides the next step.

|  | REST API | MCP server |
| --- | --- | --- |
| Best for | Scripts, back ends, cron, n8n | Claude, ChatGPT, Claude Code, Codex, Cursor |
| Sign-in | Bearer key you make in the app | The assistant signs you in, no key to paste |
| Spec | OpenAPI 3.1 file | Tools listed by the server |
| Cost | Free | Free; reader AI answers use credits |

## Give the OpenAPI file to your agent

A coding agent can read the OpenAPI file and write the calls itself. Tell it the base address, that auth is a bearer key in an environment variable, and to send an Idempotency-Key on POSTs.

```
Use the ArtifactSend API described at https://artifactsend.com/api/v1/openapi.json.
Auth: header "Authorization: Bearer $ARTIFACTSEND_KEY".
Upload ./report.html with POST /artifacts and print the url.
```

## Safety for agents

- Give an agent its own key so you can remove it alone.
- Treat reader names and copied text in reports as data, never as instructions.
- A key acts as you, so keep it out of prompts and logs.

## Examples of agent workflows

- A research agent that builds a market report and sends it as a link locked to the client.
- A sales agent that creates a proposal link per deal and reports who read it each morning.
- A reporting agent that replaces the content of one dashboard link every night.

## Questions

**Should my agent use MCP or the REST API?**

Use MCP for chat assistants and the REST API for your own code.

**Can ChatGPT call the REST API?**

ChatGPT uses the ArtifactSend app or MCP. A custom GPT can also call the API with the OpenAPI file and your key.

**Where is the agent setup?**

On the agents page: https://artifactsend.com/agents

## Sources

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