Employers & occupational health
For employers and the practices that examine their workers: the employer's GLP-1 programme (settings, enrolment code, an outcomes report with small cells suppressed and no person in it), wellness challenges and their suppressed results, the occupational-health worker roster, exam programmes, exams and next-due dates on a fixed released-field view, work injuries reported by the examining practice, and the organisation's own staff wellbeing aggregate. Webhooks: employer.challenge_completed, occupational.exam_due.
- Who calls it
- Core for Employers & occupational health
- Before production
- Employer organisations hold the employer and occupational scopes; the examining practice's own client holds occupational.injuries.write.
- Sandbox
- Build against synthetic members first. What each sandbox holds
Markets that use this family
Scopes
| Scope | Allows |
|---|---|
clinical.panel.read | Read the practice's ranked panel worklist and start worklist runs (medical practices only). |
clinical.panel.write | Triage your practice's worklist findings from your system (addressed, snoozed until a date, dismissed with a reason, or reopened) with the same rules as Norvya's own worklist screen (medical practices only). |
clinical.patient.read | Read a patient's care gaps and between-visit home-data signals (medical practices only; consent and data basis respected). |
employer.challenges.read | Read your sponsor recognition challenges, the allow-listed catalog and each challenge's suppressed group counts (joined, completed, completions per week) (employers only). |
employer.challenges.write | Create or update a recognition challenge for your programme's members: a participation or activity item from the allow-listed catalog, a 7 to 92 day window, a badge only (no cash, no health-outcome targets) (employers only). |
employer.programs.read | Read your GLP-1 programme set-up (enrolment code, the enrolled count) and its aggregate report: persistence, weight and HbA1c change, engagement, your own drug-cost arithmetic and recognition counts, every number suppressed below the minimum group size; never a person (employers only). |
employer.programs.write | Create or update your GLP-1 programme (name, start date, your drug cost per member month, active) and regenerate its enrolment code; employees join only in the app, with their own consent (employers only). |
occupational.injuries.write | Record a work injury report for an employer you examine for under an active service agreement; the employer sees only the classification inputs, never the description (treating practices only). |
occupational.read | Read your occupational-health roster, the exam programmes, each worker's released exam conclusions (determination, restrictions, follow-up, due dates; never findings or the worker's answers), next-due dates and injury reports for your own log (employers only). |
occupational.write | Add workers to your occupational-health roster and request an exam from a practice you hold a service agreement with (employers only). |
population.measures.export | Download the QRDA Category III file for the 2026 period: TRUE counts, not submission-validated, audited and refused when the audit log is down (medical practices only). |
population.measures.read | Read five eCQM-style quality measures and the Million Hearts ABCS as suppressed rates; NOT a certified eCQM calculation (medical practices only). |
staff_wellbeing.read | Read your own staff's combined burnout check-in results: participation, bands and scores, only once enough people answered; never who answered or who did not (employers and treating practices). |
Endpoints
Your GLP-1 programme set-up
The programme's name, enrolment code (employees join in the app with it, after reading exactly what you will and will not see), start date, your drug-cost figure and the enrolled count, suppressed below the minimum group size. null when no programme is set up.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/employer/glp1-program" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/employer/glp1-program",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/employer/glp1-program`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Create or update your GLP-1 programme
Request body
Content type: application/json (required)
YYYY-MM-DD
Your own figure; Norvya supplies no drug prices.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X PUT "https://app.norvya.health/v1/employer/glp1-program" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"started_on": "string",
"drug_cost_per_member_month": 0.0,
"is_active": false
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.put(
BASE + "/v1/employer/glp1-program",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"name": "string",
"started_on": "string",
"drug_cost_per_member_month": 0.0,
"is_active": False,
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/employer/glp1-program`);
const res = await fetch(url, {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"started_on": "string",
"drug_cost_per_member_month": 0.0,
"is_active": false
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Regenerate your programme's enrolment code
The old code stops working at once; members already enrolled stay enrolled.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/employer/glp1-program/enrollment-code" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/employer/glp1-program/enrollment-code",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/employer/glp1-program/enrollment-code`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your GLP-1 programme's aggregate report (never a person)
employer_glp1_report.build_report: enrolment composition, persistence at 12 / 24 / 52 weeks, weight and HbA1c change (mean, median, quartiles; no minimum or maximum), engagement, the value block (YOUR drug cost x the measured programme months — arithmetic on your input, never a savings or ROI claim) and recognition-challenge counts. Every cell is suppressed below min_cell, with complementary suppression; status too_few_enrolled below it. No names, ids, medications, side effects or demographic breakdowns.
Parameters
json | csv
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/employer/glp1-program/report" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/employer/glp1-program/report",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/employer/glp1-program/report`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your recognition challenges and their group counts
The allow-listed catalog (participation and activity items only) and, per challenge, joined / completed / completions per ISO week among members with an active programme enrolment — each suppressed below min_cell. No leaderboard, no names, nothing finer than a week.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/employer/challenges" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/employer/challenges",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/employer/challenges`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Create a recognition challenge
sponsor_challenges.create_challenge: an allow-listed catalog item, a 7 to 92 day window not in the past, recognition 'badge' only, at most 10 open per programme. No push is sent to members (they find it in the app).
Request body
Content type: application/json (required)
One of GET /v1/employer/challenges catalog[].catalog_key.
YYYY-MM-DD
YYYY-MM-DD; the window is 7 to 92 days.
badge (the only recognition: never cash or prizes)
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/employer/challenges" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"catalog_key": "string",
"start_on": "string",
"end_on": "string",
"recognition": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/employer/challenges",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"catalog_key": "string",
"start_on": "string",
"end_on": "string",
"recognition": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/employer/challenges`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"catalog_key": "string",
"start_on": "string",
"end_on": "string",
"recognition": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One challenge's group counts
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/employer/challenges/$CHALLENGE_REF/results" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
challenge_ref = os.environ["CHALLENGE_REF"]
resp = requests.get(
f"{BASE}/v1/employer/challenges/{challenge_ref}/results",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const challenge_ref = process.env.CHALLENGE_REF;
const url = new URL(`${BASE}/v1/employer/challenges/${encodeURIComponent(challenge_ref)}/results`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Change a challenge's window or switch it off
Parameters
Request body
Content type: application/json (required)
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X PATCH "https://app.norvya.health/v1/employer/challenges/$CHALLENGE_REF" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"start_on": "string",
"end_on": "string",
"is_active": false
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
challenge_ref = os.environ["CHALLENGE_REF"]
resp = requests.patch(
f"{BASE}/v1/employer/challenges/{challenge_ref}",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"start_on": "string",
"end_on": "string",
"is_active": False,
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const challenge_ref = process.env.CHALLENGE_REF;
const url = new URL(`${BASE}/v1/employer/challenges/${encodeURIComponent(challenge_ref)}`);
const res = await fetch(url, {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"start_on": "string",
"end_on": "string",
"is_active": false
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Occupational exam programmes
occupational_health.vocabulary: each programme with the CFR citation it rests on and whether its interval was read from the regulation (interval_asserted false = no due date is invented), hazards, determinations, statuses, injury outcomes and the keys an employer can ever be shown.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/programs" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/programs",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/programs`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Practices you hold an active occupational-health service agreement with
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/providers" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/providers",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/providers`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your occupational-health roster
Your own roster rows (employee number, name, job, department, hazards). has_account says whether the worker claimed the row in the app (which lets them read their full record and the disclosure log); nothing else about them is shown.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/workers" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/workers",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/workers`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Add a worker to your roster
Request body
Content type: application/json (required)
Your own employee number.
GET /v1/occupational/programs hazards[]
YYYY-MM-DD (hearing conservation baseline)
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/workers" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"employee_ref": "string",
"full_name": "string",
"job_title": "string",
"department": "string",
"hazards": [
"string"
],
"first_exposure_on": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/occupational/workers",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"employee_ref": "string",
"full_name": "string",
"job_title": "string",
"department": "string",
"hazards": [
"string",
],
"first_exposure_on": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/workers`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"employee_ref": "string",
"full_name": "string",
"job_title": "string",
"department": "string",
"hazards": [
"string"
],
"first_exposure_on": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Exam determinations and due dates (released conclusions only)
occupational_health.roster: one row per exam of an active worker, built from the employer allow-list (EMPLOYER_VISIBLE_KEYS). A conclusion the examining clinician has not released reads determination 'pending' with no restrictions (released false).
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/roster" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/roster",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/roster`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
What has been released to you about one worker
Every exam of the worker as the employer may hold it: programme, status, determination, restrictions, valid until, follow-up, due dates, released on. Never the worker's declaration, the findings or the notes (29 CFR 1910.134(e)(6); 1630.14(b)(1)).
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/workers/$WORKER_REF/exams" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
worker_ref = os.environ["WORKER_REF"]
resp = requests.get(
f"{BASE}/v1/occupational/workers/{worker_ref}/exams",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const worker_ref = process.env.WORKER_REF;
const url = new URL(`${BASE}/v1/occupational/workers/${encodeURIComponent(worker_ref)}/exams`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
When a worker's next exam in a programme is due
occupational_health.next_due: only hearing conservation has an interval read from the regulation (annual after a baseline within six months of first exposure); every other programme answers asserted false with no date, rather than a guessed one.
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/workers/$WORKER_REF/next-due?program=$PROGRAM" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
worker_ref = os.environ["WORKER_REF"]
resp = requests.get(
f"{BASE}/v1/occupational/workers/{worker_ref}/next-due",
headers={"Authorization": f"Bearer {TOKEN}"},
params={"program": os.environ["PROGRAM"]},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const worker_ref = process.env.WORKER_REF;
const url = new URL(`${BASE}/v1/occupational/workers/${encodeURIComponent(worker_ref)}/next-due`);
url.searchParams.set("program", process.env.PROGRAM);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
One exam, as released to you
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/exams/$EXAM_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
exam_ref = os.environ["EXAM_REF"]
resp = requests.get(
f"{BASE}/v1/occupational/exams/{exam_ref}",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const exam_ref = process.env.EXAM_REF;
const url = new URL(`${BASE}/v1/occupational/exams/${encodeURIComponent(exam_ref)}`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Request an exam from a practice you hold an agreement with
occupational_health.request_exam: the programme must be known, the agreement active, and a respirator request carries the supplemental information 1910.134(e)(5) requires (else 422 supplemental_information_required, never sent incomplete).
Request body
Content type: application/json (required)
GET /v1/occupational/providers
GET /v1/occupational/programs programs[].key
Respirator: the 1910.134(e)(5) information the examiner needs (required keys per program).
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/exams" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"worker_ref": "string",
"provider_ref": "string",
"program": "string",
"due_on": "string",
"reason": "string",
"supplemental": {}
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/occupational/exams",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"worker_ref": "string",
"provider_ref": "string",
"program": "string",
"due_on": "string",
"reason": "string",
"supplemental": {},
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/exams`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"worker_ref": "string",
"provider_ref": "string",
"program": "string",
"due_on": "string",
"reason": "string",
"supplemental": {}
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Injury reports for your own log, with return-to-work status
occupational_health.employer_injury_view: occurred on, work related, outcome, restricted work, recorded on — input for YOUR OSHA 300 log, not the log (recordability is yours to decide under 29 CFR 1904). Never the clinical description. return_to_work is the latest RELEASED return_to_work or fitness_for_duty exam conclusion performed on or after the injury (determination, restrictions, valid until), else null; Norvya records no return-to-work date.
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/injuries" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/injuries",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/injuries`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Employers you examine for under an active agreement
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/provider/employers" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/provider/employers",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/provider/employers`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Record a work injury report for an employer you examine for
occupational_health.record_injury under an ACTIVE service agreement. The description is clinical and stays with you; the employer is shown only occurred on, work related, outcome and restricted work.
Request body
Content type: application/json (required)
GET /v1/occupational/provider/employers
The employer's own employee number for the worker.
Clinical; never shown to the employer.
null = not known
treatment_only | restricted_work | days_away | referred | unknown
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/provider/injuries" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"employer_ref": "string",
"employee_ref": "string",
"occurred_on": "string",
"description": "string",
"work_related": false,
"outcome": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/occupational/provider/injuries",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"employer_ref": "string",
"employee_ref": "string",
"occurred_on": "string",
"description": "string",
"work_related": False,
"outcome": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/provider/injuries`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"employer_ref": "string",
"employee_ref": "string",
"occurred_on": "string",
"description": "string",
"work_related": false,
"outcome": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Your staff's combined burnout check-in results
staff_wellbeing.clinic_aggregate (Copenhagen Burnout Inventory, work scale): eligible staff, how many answered, the band distribution and mean / median, only once at least min_cell people answered in the 30-day window (below it even the response count is withheld). Never a name, a score or who has not answered; a crisis answer never reaches the organisation.
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/staff-wellbeing" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/staff-wellbeing",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/staff-wellbeing`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
A member's occupational exposure history held by your practice
Episodes: employer / site, job title, years (end_year null = still exposed), agent from the fixed list, self_reported or record_verified (with what it was checked against). Corrections are retractions, never edits.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/exposures?member_ref=$MEMBER_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/exposures",
headers={"Authorization": f"Bearer {TOKEN}"},
params={"member_ref": os.environ["MEMBER_REF"]},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/exposures`);
url.searchParams.set("member_ref", process.env.MEMBER_REF);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Record one occupational exposure episode for a member
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
former_worker_screening | current_exposure | other (GET /occupational-health/vocabulary surveillance_programmes)
beryllium | asbestos | silica | lead | noise | ionizing_radiation | uranium_compounds | organic_solvents | mercury | welding_fume | diesel_exhaust | other
null = still exposed
Required when agent is 'other'.
self_reported | record_verified
Required for record_verified: what it was checked against.
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/exposures" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"member_ref": "string",
"programme": "string",
"agent": "string",
"employer_or_site": "string",
"job_title": "string",
"start_year": 0,
"end_year": 0,
"agent_detail": "string",
"source": "string",
"verification_note": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/occupational/exposures",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"member_ref": "string",
"programme": "string",
"agent": "string",
"employer_or_site": "string",
"job_title": "string",
"start_year": 0,
"end_year": 0,
"agent_detail": "string",
"source": "string",
"verification_note": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/exposures`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"member_ref": "string",
"programme": "string",
"agent": "string",
"employer_or_site": "string",
"job_title": "string",
"start_year": 0,
"end_year": 0,
"agent_detail": "string",
"source": "string",
"verification_note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Retract an exposure episode recorded in error (a correction, never an edit)
Parameters
Request body
Content type: application/json (required)
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/exposures/$EXPOSURE_REF/retract" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
exposure_ref = os.environ["EXPOSURE_REF"]
resp = requests.post(
f"{BASE}/v1/occupational/exposures/{exposure_ref}/retract",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"reason": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const exposure_ref = process.env.EXPOSURE_REF;
const url = new URL(`${BASE}/v1/occupational/exposures/${encodeURIComponent(exposure_ref)}/retract`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Record that a surveillance test was done (no result) and the next due date
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
belpt | spirometry | chest_radiograph | latent_tb_test | audiometry | blood_lead_zpp | ldct | medical_history_and_exam | other
YYYY-MM-DD
YYYY-MM-DD: the date your programme / PLHCP set. It always wins over a regulatory interval.
All responses
201Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/surveillance-tests" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"member_ref": "string",
"programme": "string",
"exam_type": "string",
"performed_on": "string",
"next_due_on": "string"
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/occupational/surveillance-tests",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"member_ref": "string",
"programme": "string",
"exam_type": "string",
"performed_on": "string",
"next_due_on": "string",
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/surveillance-tests`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"member_ref": "string",
"programme": "string",
"exam_type": "string",
"performed_on": "string",
"next_due_on": "string"
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Surveillance tests due or overdue across your panel, per programme
The app's surveillance-due list for members of your live panel. Each row names the test, the agents behind it, the claim ids and the rec_gate decision; `basis` says where the date came from (practice_set, regulatory_interval, no_test_recorded, practice_sets_date). A former worker's next date is never computed from an OSHA interval - your programme sets it. Counts per programme below the small-cell minimum are null.
Parameters
former_worker_screening | current_exposure | other
comma-separated: overdue, due_soon, baseline_due, no_due_date, scheduled
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/surveillance-due" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/surveillance-due",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/surveillance-due`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Field structure of the FECA (CA-17, OWCP-5c) and EEOICPA (EE-1, EE-3) evidence packets
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/claims/forms" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/claims/forms",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/claims/forms`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
A FECA-shaped duty-status (ca17) or work-capacity (owcp5c) packet, prefilled where held
404 unknown_form. Fields carry `completed_by` (employing_agency | physician), `value` and `value_source`; items Norvya never holds (SSN, OWCP file number, tax id, signature) are `not_held_entered_on_official_form`.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Errors specific to this call
404unknown_formAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/claims/feca/$FORM?member_ref=$MEMBER_REF" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
form = os.environ["FORM"]
resp = requests.get(
f"{BASE}/v1/occupational/claims/feca/{form}",
headers={"Authorization": f"Bearer {TOKEN}"},
params={"member_ref": os.environ["MEMBER_REF"]},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const form = process.env.FORM;
const url = new URL(`${BASE}/v1/occupational/claims/feca/${encodeURIComponent(form)}`);
url.searchParams.set("member_ref", process.env.MEMBER_REF);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Validate the clinician's entries and return the completed packet (audited export)
422 unknown_field:<key> / invalid_value:<key> / out_of_range:<key> / not_held_field:<key> / identifier_like_text_refused:<key>. Nothing is stored or filed; the audit row carries the packet's SHA-256.
Parameters
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
{field_key: value}; GET /v1/occupational/claims/forms lists the keys and types
Errors specific to this call
422unknown_fieldAll responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/claims/feca/$FORM" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"member_ref": "string",
"values": {}
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
form = os.environ["FORM"]
resp = requests.post(
f"{BASE}/v1/occupational/claims/feca/{form}",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"member_ref": "string",
"values": {},
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const form = process.env.FORM;
const url = new URL(`${BASE}/v1/occupational/claims/feca/${encodeURIComponent(form)}`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"member_ref": "string",
"values": {}
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
EEOICPA claim-intake evidence packet (EE-1 / EE-3 shape) from the exposure history (export)
Employment periods = the exposure episodes as recorded (year precision), diagnosed conditions = what you send, with its date; profile conditions verbatim with no date. Facility coverage is never assessed.
EMR vendors also pass vendor (the practice) with a vendor-issued token. EMR vendor tokens
Request body
Content type: application/json (required)
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s -X POST "https://app.norvya.health/v1/occupational/claims/eeoicpa" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"member_ref": "string",
"conditions": [
{
"category": "string",
"diagnosis": "string",
"date_of_diagnosis": "string",
"recorded_by": "string"
}
]
}'import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.post(
BASE + "/v1/occupational/claims/eeoicpa",
headers={"Authorization": f"Bearer {TOKEN}"},
json={
"member_ref": "string",
"conditions": [
{
"category": "string",
"diagnosis": "string",
"date_of_diagnosis": "string",
"recorded_by": "string",
},
],
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/claims/eeoicpa`);
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"member_ref": "string",
"conditions": [
{
"category": "string",
"diagnosis": "string",
"date_of_diagnosis": "string",
"recorded_by": "string"
}
]
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Surveillance schedule report: people due / overdue per programme and test (counts only)
Your live panel. Primary + complementary small-cell suppression; no member references.
Parameters
All responses
200Successful Response401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/surveillance-report" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/surveillance-report",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/surveillance-report`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Surveillance schedule report as CSV or JSON (suppressed; audited, fails closed)
Parameters
csv | json
All responses
200The suppressed report as CSV or JSON.401Unauthorized403Forbidden404Not Found409Conflict422Unprocessable Entity429Too Many Requests503Service UnavailableCodes every call can return are in Errors & limits.
curl -s "https://app.norvya.health/v1/occupational/surveillance-report/export" \
-H "Authorization: Bearer $TOKEN"import os
import requests
BASE = "https://app.norvya.health"
TOKEN = os.environ["TOKEN"]
resp = requests.get(
BASE + "/v1/occupational/surveillance-report/export",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())// Node.js 18+ (ES module). Keep production credentials on your server.
const BASE = "https://app.norvya.health";
const url = new URL(`${BASE}/v1/occupational/surveillance-report/export`);
const res = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());Try it in your sandbox
Webhook events
Payloads carry no health data, only a reference to fetch with your token. Each event needs its scope as well as webhooks.manage. Signing and retries
| Event | Scope | When |
|---|---|---|
employer.challenge_completed | employer.challenges.read | A wellness challenge's window ended (once per challenge; the results are the suppressed group counts). |
occupational.exam_due | occupational.read | An exam of an active worker, not completed or cancelled, is due soon or past due (once per exam and due date). |
Generated from the Partner API router and developers_catalog.py. The router docstring is the source of each description.