HENMESH · Reference · Resolve view invite
Resolve view invite
Public GET for a HENMESH view-only invite token — no login; returns read-only job/analysis snapshot.
Public resolve for a view-only invite token. No API key and no session cookie. Returns the same completed job / analysis snapshot shape the owner sees, plus mode: "readonly" and expiresAt. Writes are never authorized from this token — guests cannot save, re-run, delete or invite again.
Work this page from top to bottom. Sample numbers show field names only.
How to use this documentation page
- Use the token from the emailed
/shared/<token>link (path segment only). - Call this GET with no Authorization header.
- Branch on 404 / 410 for missing, revoked or expired links.
- Render charts from the snapshot; never offer edit controls.
- Create invites with Create view invite.
Before you call this API
- You have a raw invite token (≥16 chars) from the email link — not the SHA-256 hash.
- You will not create a session from this token.
- You will treat every numeric sample on this page as a shape guide, not measured engineering data.
Request syntax
- Method.
GET. - URL.
https://henmesh.hendoi.com/api/v1/view-invites/a1b2c3d4e5f6789012345678abcdef01. - Header. None required.
- Body. None.
Step by step
- Copy the token from
https://henmesh.hendoi.com/shared/<token>. - Send
GETtohttps://henmesh.hendoi.com/api/v1/view-invites/<token>. - On 200, read
mode,expiresAtand the job/analysis payload. - On 410, show “Link expired or revoked”. On 404, show “Invite not found”.
Quick checklist
- □ No Authorization header.
- □ Token is the path segment from the email, not a hash.
- □ UI is forced read-only.
Example request
GET https://henmesh.hendoi.com/api/v1/view-invites/a1b2c3d4e5f6789012345678abcdef01
If the request is accepted
{
"ok": true,
"mode": "readonly",
"product": "henmesh",
"expiresAt": "2026-12-01T18:00:00Z",
"job": {
"id": "d4e5f6a7-1111-2222-3333-444455556666",
"kind": "quality",
"status": "COMPLETED",
"result": {
"yPlus": {
"measured": 0.8,
"recommended": 1.0
}
}
}
}
If the request is not accepted
HTTP 404, unknown token or wrong product:
{
"error": "Invite not found or expired."
}
HTTP 410, expired or revoked:
{
"error": "This invite link has expired."
}
Language samples
cURL
curl -s "https://henmesh.hendoi.com/api/v1/view-invites/a1b2c3d4e5f6789012345678abcdef01" -w "\n%{http_code}\n"
Node.js
const res = await fetch("https://henmesh.hendoi.com/api/v1/view-invites/a1b2c3d4e5f6789012345678abcdef01");
const data = await res.json();
console.log(res.status, data);
Python
import requests
r = requests.get("https://henmesh.hendoi.com/api/v1/view-invites/a1b2c3d4e5f6789012345678abcdef01")
print(r.status_code, r.json())