HENFOIL · Reference · Share by email
Share by email
Mail a HENFOIL screening summary or attachment (separate from view-only invites).
Email a screening summary (and optional attachments) to up to five recipients. This is the attachment / summary share path — separate from view-only invites, which open the live product page read-only.
Work this page from top to bottom. Sample numbers show field names only.
How to use this documentation page
- Prefer view-only invites when the reviewer should see charts in-product.
- Use this share route when you only need a mailed summary or zip attachment.
- Keep at most five unique addresses per send.
Before you call this API
- You have a live HENFOIL API key (
hfk_…) or session. tois a non-empty array of emails (max 5).
Request syntax
- Method.
POST. - URL.
https://henfoil.hendoi.com/api/v1/share/email. - Header.
Authorization: Bearer hfk_demo_4c91e2ab8d07. OrX-Henfoil-Key. - Body. JSON below.
Example request
POST https://henfoil.hendoi.com/api/v1/share/email
Authorization: Bearer hfk_demo_4c91e2ab8d07
Content-Type: application/json
{
"to": [
"reviewer@example.com"
],
"subject": "HENFOIL screening summary",
"title": "HENFOIL screening summary",
"message": "Conceptual screening only \u2014 not certification data.",
"summary": {
"status": "completed",
"ref": "demo-001"
}
}
If the request is accepted
{
"ok": true,
"count": 1,
"max": 5,
"live": true
}
Language samples
cURL
curl -s -X POST "https://henfoil.hendoi.com/api/v1/share/email" \
-H "Authorization: Bearer hfk_demo_4c91e2ab8d07" \
-H "Content-Type: application/json" \
-d '{"to": ["reviewer@example.com"], "subject": "HENFOIL screening summary", "title": "HENFOIL screening summary", "message": "Conceptual screening only \u2014 not certification data.", "summary": {"status": "completed", "ref": "demo-001"}}' \
-w "\n%{http_code}\n"