ArtifactSend API reference
The ArtifactSend REST API lets your code upload a page or document, get a tracked link, make a link for one person, run a data room and read who opened what. JSON over HTTPS, a bearer key, an OpenAPI 3.1 document, free.
Facts
- Base address: https://artifactsend.com/api/v1
- Authentication: Authorization: Bearer as_... A key acts as you, in your current space, with your permissions. Make one in the app under API; remove it there and it stops at once.
- Format: JSON in and out, times in ISO 8601 UTC. Uploads can also send the raw file as the body.
- OpenAPI: https://artifactsend.com/api/v1/openapi.json (OpenAPI 3.1, public, no key needed). Postman, Insomnia, Swagger UI and most AI tools read it.
- Cost: Free. The API is part of the free plan. Only AI answers that readers ask for use prepaid credits, as in the app.
- Rate limits: 120 calls a minute per key, 30 that change something, 20 uploads or downloads. Over the limit you get 429 and a Retry-After header.
- Upload size: 30 MB in one request. A PDF, Word, PowerPoint or Excel file up to 100 MB goes in 8 MB parts with POST /uploads, or as a download link. A PDF can have up to 1,000 pages.
- Safe retries: Send an Idempotency-Key header on a POST. A retry with the same key and body returns the first answer instead of doing it twice. Kept for 24 hours.
- CORS: Open to any origin, but only with a key, so keep the key on your server.
Quick start
- Make a key. Sign in at artifactsend.com, open API in the menu and make a key. It starts with as_ and is shown once.
- Upload something. POST /artifacts with an html, markdown, file or url field. The answer holds the link to share.
- Choose who can open it. Set access.mode to public, email (a real address) or verified (Google or a 6-digit code), and optionally allow, expiresAt, password and download.
- Read the report. GET /links/{id}/report returns each reader, time, how far they read, time per section, clicks and downloads.
Examples
Upload a PDF and get a link (curl)
curl -X POST "https://artifactsend.com/api/v1/artifacts?name=deck.pdf&title=Series%20A%20deck&access=verified" \
-H "Authorization: Bearer as_YOUR_KEY" \
-H "Content-Type: application/pdf" \
--data-binary @deck.pdf
Publish a page from Node.js
const res = await fetch("https://artifactsend.com/api/v1/artifacts", {
method: "POST",
headers: { Authorization: "Bearer " + process.env.ARTIFACTSEND_KEY, "Content-Type": "application/json", "Idempotency-Key": "report-2026-11-27" },
body: JSON.stringify({ html: "<h1>Weekly report</h1>", title: "Weekly report", access: { mode: "email" } }),
});
const link = await res.json();
console.log(link.url);
One link per investor (Python)
import os, requests
H = {"Authorization": "Bearer " + os.environ["ARTIFACTSEND_KEY"]}
API = "https://artifactsend.com/api/v1"
art = requests.post(f"{API}/artifacts?name=deck.pdf", headers=H, data=open("deck.pdf", "rb")).json()
for name, email in [("Dana Lee, Sequoia", "dana@example.com"), ("Raj Patel, a16z", "raj@example.com")]:
link = requests.post(f"{API}/artifacts/{art['id']}/links", headers=H,
json={"name": name, "email": email, "onlyThem": True}).json()
print(name, link["url"])
Read who opened it (curl)
curl "https://artifactsend.com/api/v1/links/LINK_ID/report" -H "Authorization: Bearer as_YOUR_KEY"
Update a shared page in place
curl -X PUT "https://artifactsend.com/api/v1/artifacts/ARTIFACT_ID/content" \
-H "Authorization: Bearer as_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"markdown": "# Update\n\nNew numbers for November."}'
Endpoints
Every endpoint, with its request and response shapes, is in the OpenAPI 3.1 document.
Account
| Endpoint | What it does |
|---|---|
| GET /me | Who this key acts for |
| GET /usage | Your API calls per day and endpoint |
Artifacts
| Endpoint | What it does |
|---|---|
| GET /artifacts | List your artifacts |
| POST /artifacts | Upload an HTML page, Markdown, a document or a file |
| GET /artifacts/{id} | One artifact and its settings |
| PATCH /artifacts/{id} | Change an artifact's settings |
| PUT /artifacts/{id}/content | Put new content behind the same link |
| DELETE /artifacts/{id} | Delete an artifact and every link to it |
| GET /artifacts/{id}/download | Your own file back |
Uploads
| Endpoint | What it does |
|---|---|
| POST /uploads | Start a large file upload |
| PUT /uploads/{id}/parts/{n} | Send one part of a large file |
Files
| Endpoint | What it does |
|---|---|
| GET /artifacts/{id}/files | Files a page loads by relative path |
| PUT /artifacts/{id}/files | Add or replace one file |
| DELETE /artifacts/{id}/files | Remove one file |
Links
| Endpoint | What it does |
|---|---|
| GET /artifacts/{id}/links | Every link to an artifact |
| POST /artifacts/{id}/links | A link for one person |
| GET /links/{id} | One link and its settings |
| PATCH /links/{id} | Change one link's settings |
| DELETE /links/{id} | Delete one link |
| POST /links/{id}/embed-secret | A new embed signing secret |
Reports
| Endpoint | What it does |
|---|---|
| GET /links/{id}/report | Who read it, for how long, and downloads |
| GET /rooms/{id}/report | Who read which document in a data room |
Data rooms
| Endpoint | What it does |
|---|---|
| GET /rooms | List your data rooms |
| POST /rooms | Make a data room |
| GET /rooms/{id} | A data room: documents, folders, agreement and who sees what |
| PATCH /rooms/{id} | Change a data room |
| DELETE /rooms/{id} | Delete a data room |
| POST /rooms/{id}/documents | Put artifacts in a data room |
| DELETE /rooms/{id}/documents/{documentId} | Take a document out of a data room |
Errors
Errors are JSON shaped like { "error": { "code", "message", "status", "requestId" } }. 400 means the request is not valid, 401 a missing or removed key, 403 not allowed for the key's owner, 404 not found in your space, 413 too large and 429 over the rate limit.
Questions
Is the ArtifactSend API free?
Yes. There is no charge for API calls and no paid tier for the API. Each key is limited to 120 calls a minute. Readers' AI questions use prepaid credits, the same as in the app.
Is there an OpenAPI or Swagger file?
Yes. https://artifactsend.com/api/v1/openapi.json is an OpenAPI 3.1 document that anyone can read without a key. Import it into Postman, Insomnia or an SDK generator, or give it to an AI coding assistant.
How do I get an API key?
Sign in, open API in the app menu and make a key. It is a personal token that acts as you, shown once and stored only as a hash. Remove it in the same place to stop it at once.
Can I send a different link to every recipient?
Yes. POST /artifacts/{id}/links makes a link for one person with its own door, readers and report. With onlyThem, only that email can open it, after proving it with Google or a code. Content stays in sync across all links.
Can I find out who opened a document with the API?
Yes. GET /links/{id}/report returns readers with email, visits, active time, how far they read, clicks, copies and downloads, plus time per section and views per day.
Does the API send webhooks when someone opens a link?
Not yet. Today you read the report endpoint on a schedule. The app can already email you the first time someone opens a link (access.notify).
Can I create a data room with the API?
Yes. POST /rooms with a name and the artifact ids, an optional agreement (NDA), watermark and door. GET /rooms/{id}/report shows who read which document.
Can an AI agent use it?
Yes, two ways. The REST API suits scripts and back ends. The MCP server suits Claude, ChatGPT, Claude Code, Codex and Cursor, with no key to paste. See the agents page.
Which file types can I upload?
PDF, Word, PowerPoint, Excel, CSV, images, HTML and Markdown, up to 30 MB. You can also send a public URL to copy.