Every unlocked EquiFile cap table has a verification code, printed on the PDF with a QR code. Send that code to the API and you get back whether the document is genuine and current, plus the data behind it.
1. Quick start
Base URL: https://equifile-pay.equifile.workers.dev
curl "https://equifile-pay.equifile.workers.dev/api/v1/verify/EQF-7K3M-Q9XD-4HTA" \
-H "Authorization: Bearer eqf_live_YOUR_KEY"
Without a key, the same request returns the headline figures only. With a key, it also returns every holder.
2. Get an API key
Keys belong to a company account. Sign in to the dashboard, open API & verification and create a key. The full key is shown once, so store it in a secrets manager. Only a hash is kept on our side. You can have up to 10 active keys and revoke any of them instantly.
A key can read the full cap table behind any verification code. When you create it you can also allow it to create and manage founder links (section 5). Keep it on your server, never in a web page or mobile app.
3. Authentication
Send the key as Authorization: Bearer eqf_live_... or as X-API-Key: eqf_live_.... A key that is present but invalid always returns 401; it never falls back to the public answer.
4. Verify a code
GET /api/v1/verify/{code}
The code is forgiving: lowercase, spaces, missing dashes and a pasted verification URL are all accepted. Response with a key:
{
"object": "verification",
"code": "EQF-7K3M-Q9XD-4HTA",
"valid": true,
"status": "valid",
"issued_at": "2026-11-30T09:14:22.000Z",
"document_ref": "EF-20261130-000",
"payment_status": "paid",
"integrity": {
"algorithm": "sha256",
"hash": "e134f71e069a4d843641b4a0ad0ce4b0055ed2715437a631a3979b569fccea8b"
},
"company": {
"name": "Ashgrove Labs, Inc.",
"state_of_incorporation": "Delaware",
"as_of": "2026-11-30",
"authorized_shares": 10000000,
"par_value": "0.0001"
},
"summary": {
"shares_issued": 10000000,
"holders_count": 3,
"capital_contributed_usd": 7000,
"classes": [
{
"class": "Common",
"shares": 7000000,
"percent": 70
},
{
"class": "Options",
"shares": 3000000,
"percent": 30
}
]
},
"holders": [
{
"name": "James Whitaker",
"class": "Common",
"shares": 4000000,
"price_per_share": 0.001,
"fully_diluted_percent": 40
},
{
"name": "Emily Carter",
"class": "Common",
"shares": 3000000,
"price_per_share": 0.001,
"fully_diluted_percent": 30
},
{
"name": "Option Pool",
"class": "Options",
"shares": 3000000,
"price_per_share": 0,
"fully_diluted_percent": 30
}
]
}
Without a key the response is identical except that holders is left out.
5. Founder links
Create, check, list and turn off founder links from your own systems. These are the same links as the New founder link button in your dashboard, so they appear there straight away and the founder opens them the same way.
These endpoints need a key that was given the Allow this key to create and manage founder links permission when it was created. The permission is off by default because a link can make you pay the document fee. A key without it can only verify documents and gets 403 key_cannot_create_links here. A company can only ever see and change its own links; a token that belongs to someone else answers 404 not_found.
5.1 Create a link
POST /api/v1/founder-links
Send a JSON body. Every field is optional:
- label: a name for you to recognise the founder or company, up to 120 characters.
- founder_email: the founder’s email address. It is stored with the link. We do not email them, so you send the link yourself.
- pay_mode: "founder" (default, the founder pays to unlock the document) or "org" (you cover the document fee when they submit).
- expires_in_days: a whole number from 1 to 90. Default 30.
curl -X POST "https://equifile-pay.equifile.workers.dev/api/v1/founder-links" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"Acme Ltd","founder_email":"founder@acme.com","pay_mode":"founder","expires_in_days":30}'
Response 201:
{
"token": "Qm3x...",
"url": "https://equifile.org/f/Qm3x...",
"label": "Acme Ltd",
"founder_email": "founder@acme.com",
"pay_mode": "founder",
"status": "active",
"expires_at": "2026-12-30T08:15:00.000Z",
"created_at": "2026-11-30T08:15:00.000Z"
}
Send url to the founder. Anyone who holds it can open that one link, so treat it like a password and send it only to the founder. Be careful with "org": every founder who submits through such a link is a document fee charged to you.
5.2 Check one link
GET /api/v1/founder-links/{token}
Returns the link and what the founder has done with it, so you can see when they have started, submitted or paid. Holder names and percentages are never included here. Use the verification endpoint above for those.
curl "https://equifile-pay.equifile.workers.dev/api/v1/founder-links/Qm3x..." \
-H "Authorization: Bearer YOUR_API_KEY"
{
"token": "Qm3x...",
"url": "https://equifile.org/f/Qm3x...",
"label": "Acme Ltd",
"founder_email": "founder@acme.com",
"pay_mode": "founder",
"status": "active",
"expires_at": "2026-12-30T08:15:00.000Z",
"created_at": "2026-11-30T08:15:00.000Z",
"document": {
"started": true,
"status": "submitted",
"company": "Acme Ltd",
"updated_at": "2026-12-02T10:41:12.000Z",
"signed": true,
"signed_by": "Jane Okafor",
"signed_at": "2026-12-02T10:55:40.000Z"
}
}
- status is active, expired (past its expiry date) or revoked (turned off).
- document.started is false until the founder opens the link and saves something. document.status is then null. After that it is draft (still being filled in), submitted (sent to you, or waiting for the founder to pay) or paid (unlocked).
- document.company is the company name the founder typed in. document.signed is true once the authorized officer has signed the unlocked document (signed_by and signed_at say who and when); a document cannot be downloaded or verified until it is signed, and editing it afterwards makes the signature stale.
5.3 List your links
GET /api/v1/founder-links?limit=25
Your most recent links, newest first. limit is a whole number from 1 to 100 (default 25). Each entry has the same fields as 5.1, without the document part. Ask for one link when you need its document state.
{
"links": [ { "token": "Qm3x...", "label": "Acme Ltd", "status": "active", "...": "..." } ],
"count": 1,
"has_more": false
}
has_more is true when you have more links than the limit you asked for.
5.4 Turn a link off
DELETE /api/v1/founder-links/{token}
Revokes the link, exactly like Revoke in the dashboard. The founder can no longer open or change it and sees that the link was withdrawn. The response is the link with status set to revoked. Repeating the call is safe. A revoked link cannot be turned back on, so create a new one instead. Nothing is deleted from your account.
curl -X DELETE "https://equifile-pay.equifile.workers.dev/api/v1/founder-links/Qm3x..." \
-H "Authorization: Bearer YOUR_API_KEY"
6. Fields
- valid: true only when status is valid. Use this for a pass or fail decision.
- status: valid (issued and unchanged), superseded (the company changed the cap table and a newer code exists, see superseded_by) or revoked (the founder link was withdrawn).
- payment_status: paid, or billed_to_sponsor when the company that sent the link covers the fee.
- document_ref: the EF-YYYYMMDD-NNN reference printed on the document.
- issued_at: when the code was issued (UTC).
- summary: shares issued, holder count, capital contributed in USD, and each share class with its percentage.
- holders (key only): name, class, shares, price per share and fully diluted percentage.
A superseded or revoked code still returns the figures it was issued with, so you can see what an old document said. It never reports valid: true.
Access control and logging. The company that created a document can switch off holder-level API reads for it. When that is off, a key from another company gets the headline figures and holders_disabled: true. Every keyed read is logged, and the document’s company can see which key name and company read it, how many times and when. Name your keys accordingly.
7. Check the integrity hash
Each code vouches for one exact snapshot. integrity.hash is the SHA-256 of that snapshot serialised as compact JSON (no spaces) with keys in this order: company, state, as_of, authorized_shares, par_value, holders, where each holder is name, class, shares, price_per_share. With a key you can rebuild the snapshot from the response and confirm the hash matches, so you can prove the data you stored is the data we issued.
const snapshot = {
company: r.company.name, state: r.company.state_of_incorporation, as_of: r.company.as_of,
authorized_shares: r.company.authorized_shares, par_value: r.company.par_value,
holders: r.holders.map(h => ({ name: h.name, class: h.class, shares: h.shares, price_per_share: h.price_per_share })),
};
const hash = sha256Hex(JSON.stringify(snapshot)); // equals r.integrity.hash
8. Examples
JavaScript (Node 18+)
const res = await fetch("https://equifile-pay.equifile.workers.dev/api/v1/verify/" + code, {
headers: { Authorization: "Bearer " + process.env.EQUIFILE_KEY },
});
const doc = await res.json();
if (res.ok && doc.valid) { /* trust doc.holders */ }
Python
import os, requests
r = requests.get(
"https://equifile-pay.equifile.workers.dev/api/v1/verify/" + code,
headers={"Authorization": "Bearer " + os.environ["EQUIFILE_KEY"]},
timeout=10,
)
doc = r.json()
if r.ok and doc["valid"]:
holders = doc["holders"]
Create a founder link (JavaScript, Node 18+)
const res = await fetch("https://equifile-pay.equifile.workers.dev/api/v1/founder-links", {
method: "POST",
headers: { Authorization: "Bearer " + process.env.EQUIFILE_KEY, "Content-Type": "application/json" },
body: JSON.stringify({ label: "Acme Ltd", founder_email: "founder@acme.com", expires_in_days: 14 }),
});
const link = await res.json();
if (res.status === 201) { /* email link.url to the founder, keep link.token to check on it later */ }
Create a founder link and check on it (Python)
import os, requests
base = "https://equifile-pay.equifile.workers.dev/api/v1/founder-links"
h = {"Authorization": "Bearer " + os.environ["EQUIFILE_KEY"]}
link = requests.post(base, json={"label": "Acme Ltd", "pay_mode": "founder"}, headers=h, timeout=10).json()
# later:
state = requests.get(base + "/" + link["token"], headers=h, timeout=10).json()
if state["document"]["status"] == "paid":
pass # unlocked; fetch the full cap table with its verification code
# if you no longer need the link:
requests.delete(base + "/" + link["token"], headers=h, timeout=10)
9. Errors and limits
- 400 invalid_code: the code is not in the EQF-XXXX-XXXX-XXXX format.
- 401 invalid_api_key: the key is malformed, unknown or revoked.
- 404 not_found: no document was ever issued with this code. Treat the document as unverified.
- 400 invalid_label, invalid_founder_email, invalid_pay_mode, invalid_expires_in_days, invalid_limit, bad_request: a founder link request has a value that is not allowed. The message says which.
- 401 missing_api_key: the founder link endpoints always need a key. 403 key_cannot_create_links: the key is valid but was created without the founder link permission. 403 company_not_set_up: finish your company setup in the dashboard first.
- 404 not_found on a founder link: the token does not exist or belongs to another company. 405 method_not_allowed: the endpoint does not support that HTTP method.
- 429 rate_limited: slow down and retry after the Retry-After seconds. Limits per key are 120 verify requests per minute, 30 created founder links per minute, and 120 founder link checks, lists and revokes per minute. Without a key, verify requests are limited to 40 per minute per IP address.
Responses are JSON, are never cached, and can be read from a browser on any origin, although keyed requests should come from your server.
10. Good practice
- Always check valid, not only that the request succeeded.
- Compare the company name and totals with the document you were given.
- Store the code and integrity.hash with your working papers.
Questions or a higher limit? Email support@equifile.org. You can also check a single code by hand on the verification page.